Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001673/0.001673, allocations: 102.2 kB / 16.27 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 191 kB / 17.2 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 222.9 MB / 240.9 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.539/2.539, allocations: 437.1 MB / 0.7111 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 72.36 kB / 0.8699 GB, free: 2.184 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3113/0.3132, allocations: 151.6 MB / 1.018 GB, free: 10.62 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002821/0.3161, allocations: 1.457 MB / 1.019 GB, free: 9.152 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0004393/0.3166, allocations: 184.9 kB / 1.02 GB, free: 8.973 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.563e-05/0.3166, allocations: 0 / 1.02 GB, free: 8.973 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.618e-05/0.3166, allocations: 7.938 kB / 1.02 GB, free: 8.965 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0002045/0.3169, allocations: 24.59 kB / 1.02 GB, free: 8.941 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001852/0.3171, allocations: 45.31 kB / 1.02 GB, free: 8.898 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 9.5e-05/0.3172, allocations: 67.67 kB / 1.02 GB, free: 8.832 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.264e-05/0.3173, allocations: 8 kB / 1.02 GB, free: 8.824 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.169e-05/0.3173, allocations: 19.98 kB / 1.02 GB, free: 8.805 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.394e-05/0.3174, allocations: 23.91 kB / 1.02 GB, free: 8.781 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.303e-05/0.3174, allocations: 7.938 kB / 1.02 GB, free: 8.773 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.711e-05/0.3174, allocations: 4 kB / 1.02 GB, free: 8.77 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.802e-05/0.3175, allocations: 15.92 kB / 1.02 GB, free: 8.754 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.822e-05/0.3175, allocations: 19.92 kB / 1.02 GB, free: 8.734 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001071/0.3176, allocations: 56.08 kB / 1.02 GB, free: 8.68 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.3177, allocations: 0 / 1.02 GB, free: 8.68 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3177, allocations: 4 kB / 1.02 GB, free: 8.676 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.3177, allocations: 4 kB / 1.02 GB, free: 8.672 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005837/0.3183, allocations: 343.5 kB / 1.02 GB, free: 8.285 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.3183, allocations: 12.86 kB / 1.02 GB, free: 8.273 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.035e-05/0.3184, allocations: 4.938 kB / 1.02 GB, free: 8.27 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001705/0.3185, allocations: 176.3 kB / 1.02 GB, free: 8.059 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.3185, allocations: 384 / 1.02 GB, free: 8.059 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.579e-05/0.3186, allocations: 4.375 kB / 1.02 GB, free: 8.055 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001696/0.3187, allocations: 76.75 kB / 1.02 GB, free: 7.965 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.3188, allocations: 192 / 1.02 GB, free: 7.965 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.82e-05/0.3188, allocations: 7.938 kB / 1.02 GB, free: 7.957 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.3188, allocations: 4 kB / 1.02 GB, free: 7.953 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.691e-05/0.3189, allocations: 15.98 kB / 1.02 GB, free: 7.938 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004125/0.3193, allocations: 268.8 kB / 1.021 GB, free: 7.625 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 9.774e-05/0.3194, allocations: 46.5 kB / 1.021 GB, free: 7.57 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.837e-05/0.3194, allocations: 16.86 kB / 1.021 GB, free: 7.551 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 6.342e-06/0.3194, allocations: 0 / 1.021 GB, free: 7.551 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001892/0.3196, allocations: 67.47 kB / 1.021 GB, free: 7.473 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.3197, allocations: 0 / 1.021 GB, free: 7.473 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.0002187/0.3199, allocations: 73.61 kB / 1.021 GB, free: 7.395 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.758e-05/0.32, allocations: 106.8 kB / 1.021 GB, free: 7.266 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.057e-05/0.3201, allocations: 113.8 kB / 1.021 GB, free: 7.145 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.3201, allocations: 29.7 kB / 1.021 GB, free: 7.109 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.146e-05/0.3202, allocations: 88.05 kB / 1.021 GB, free: 7.02 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.113e-05/0.3202, allocations: 11.83 kB / 1.021 GB, free: 7.008 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.796e-05/0.3202, allocations: 25.7 kB / 1.021 GB, free: 6.977 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.3204, allocations: 322.8 kB / 1.022 GB, free: 6.652 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.106e-05/0.3204, allocations: 12 kB / 1.022 GB, free: 6.641 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.677e-05/0.3205, allocations: 34.56 kB / 1.022 GB, free: 6.598 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.579e-05/0.3206, allocations: 24.86 kB / 1.022 GB, free: 6.57 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3206, allocations: 0 / 1.022 GB, free: 6.57 MB / 0.795 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001084/0.3207, allocations: 61.62 kB / 1.022 GB, free: 6.504 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.3207, allocations: 4 kB / 1.022 GB, free: 6.5 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.309e-06/0.3207, allocations: 0 / 1.022 GB, free: 6.5 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.3207, allocations: 0 / 1.022 GB, free: 6.5 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.245e-05/0.3208, allocations: 8 kB / 1.022 GB, free: 6.492 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.3208, allocations: 4 kB / 1.022 GB, free: 6.488 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001134/0.3209, allocations: 15.92 kB / 1.022 GB, free: 6.473 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.321, allocations: 0 / 1.022 GB, free: 6.473 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000104/0.3211, allocations: 117.8 kB / 1.022 GB, free: 6.348 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.895e-05/0.3211, allocations: 7.984 kB / 1.022 GB, free: 6.34 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.246e-05/0.3211, allocations: 3.5 kB / 1.022 GB, free: 6.332 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.3211, allocations: 0 / 1.022 GB, free: 6.332 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.3211, allocations: 0 / 1.022 GB, free: 6.332 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.3211, allocations: 3.938 kB / 1.022 GB, free: 6.328 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001497/0.3213, allocations: 169.6 kB / 1.022 GB, free: 6.113 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.3213, allocations: 11.98 kB / 1.022 GB, free: 6.102 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.5e-05/0.3214, allocations: 4.375 kB / 1.022 GB, free: 6.098 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.3214, allocations: 0 / 1.022 GB, free: 6.098 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.403e-06/0.3214, allocations: 4 kB / 1.022 GB, free: 6.094 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.3214, allocations: 4 kB / 1.022 GB, free: 6.09 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3214, allocations: 0 / 1.022 GB, free: 6.09 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001405/0.3215, allocations: 89.05 kB / 1.022 GB, free: 5.984 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 7.302e-05/0.3216, allocations: 89.02 kB / 1.022 GB, free: 5.879 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.315e-05/0.3216, allocations: 11.92 kB / 1.022 GB, free: 5.867 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.3218, allocations: 8 kB / 1.022 GB, free: 5.859 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.884e-05/0.3218, allocations: 3.984 kB / 1.022 GB, free: 5.855 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.3218, allocations: 4 kB / 1.022 GB, free: 5.852 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.377e-05/0.3219, allocations: 87.27 kB / 1.022 GB, free: 5.766 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3219, allocations: 0 / 1.022 GB, free: 5.766 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000189/0.3221, allocations: 8 kB / 1.022 GB, free: 5.758 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001544/0.3222, allocations: 107.2 kB / 1.022 GB, free: 5.645 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001494/0.3224, allocations: 35.92 kB / 1.023 GB, free: 5.609 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.3224, allocations: 0 / 1.023 GB, free: 5.609 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 4.204e-05/0.3225, allocations: 16 kB / 1.023 GB, free: 5.594 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001594/0.3226, allocations: 10.52 kB / 1.023 GB, free: 5.586 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003648/0.323, allocations: 155.6 kB / 1.023 GB, free: 5.402 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/0.3233, allocations: 0.6833 MB / 1.023 GB, free: 4.695 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.792e-05/0.3234, allocations: 11.44 kB / 1.023 GB, free: 4.684 MB / 0.795 GB Notification: Performance of SimCode: time 2.11e-07/0.3234, allocations: 0 / 1.023 GB, free: 4.684 MB / 0.795 GB Notification: Performance of Templates: time 0.00235/0.3257, allocations: 0.8285 MB / 1.024 GB, free: 3.867 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches