Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.LimitMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limCeiHei.u|limCeiHei.ceiHei",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limCeiHei.u|limCeiHei.ceiHei",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008559/0.0008559, allocations: 91.53 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 178.7 kB / 16.92 MB, free: 6.652 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.446/1.446, allocations: 223.3 MB / 241 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.826/2.826, allocations: 462.7 MB / 0.7371 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005725/0.0005726, allocations: 15.47 kB / 0.9034 GB, free: 36.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3454/0.346, allocations: 159.6 MB / 1.059 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002212/0.3482, allocations: 1.346 MB / 1.061 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001848/0.3501, allocations: 1.136 MB / 1.062 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.878e-05/0.3502, allocations: 0 / 1.062 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002318/0.3505, allocations: 19.92 kB / 1.062 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002896/0.3508, allocations: 55.83 kB / 1.062 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003956/0.3512, allocations: 118.8 kB / 1.062 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002803/0.3515, allocations: 217.4 kB / 1.062 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.3516, allocations: 20.22 kB / 1.062 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000124/0.3517, allocations: 67.83 kB / 1.062 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002633/0.352, allocations: 83.77 kB / 1.062 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.122e-05/0.3521, allocations: 12 kB / 1.062 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001869/0.3523, allocations: 71.91 kB / 1.062 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.3524, allocations: 75.73 kB / 1.062 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001173/0.3525, allocations: 117.1 kB / 1.063 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000295/0.3528, allocations: 191.9 kB / 1.063 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.3528, allocations: 0 / 1.063 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.536e-06/0.3528, allocations: 0 / 1.063 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.3528, allocations: 7.938 kB / 1.063 GB, free: 1.398 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0007781/0.3536, allocations: 491.7 kB / 1.063 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.3537, allocations: 11.97 kB / 1.063 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.796e-05/0.3538, allocations: 28.56 kB / 1.063 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002975/0.3541, allocations: 255.8 kB / 1.063 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.017e-05/0.3541, allocations: 16.38 kB / 1.064 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.39e-05/0.3541, allocations: 12.38 kB / 1.064 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000366/0.3545, allocations: 224.8 kB / 1.064 GB, free: 280 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.3545, allocations: 3.984 kB / 1.064 GB, free: 276 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.726e-05/0.3546, allocations: 8 kB / 1.064 GB, free: 268 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.3546, allocations: 4 kB / 1.064 GB, free: 264 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008435/0.3554, allocations: 0.7334 MB / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008595/0.3563, allocations: 0.5744 MB / 1.065 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004853/0.3568, allocations: 299.6 kB / 1.065 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001606/0.357, allocations: 101.4 kB / 1.065 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.194e-05/0.357, allocations: 24.25 kB / 1.065 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003336/0.3574, allocations: 172.9 kB / 1.066 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=34): time 2.384e-06/0.3574, allocations: 0 / 1.066 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34): time 0.0006599/0.358, allocations: 373.1 kB / 1.066 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.658e-05/0.3581, allocations: 132.5 kB / 1.066 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002845/0.3584, allocations: 307.9 kB / 1.066 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.417e-05/0.3585, allocations: 37.64 kB / 1.066 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.29e-05/0.3586, allocations: 120.8 kB / 1.067 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.009e-05/0.3587, allocations: 114.3 kB / 1.067 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.47e-05/0.3587, allocations: 33.72 kB / 1.067 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.3589, allocations: 334.8 kB / 1.067 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.359, allocations: 91.89 kB / 1.067 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001882/0.3592, allocations: 127.4 kB / 1.067 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003091/0.3595, allocations: 210.2 kB / 1.067 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3595, allocations: 0 / 1.067 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000415/0.3599, allocations: 277.2 kB / 1.068 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.36, allocations: 4 kB / 1.068 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.36, allocations: 4 kB / 1.068 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.36, allocations: 4 kB / 1.068 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002208/0.3602, allocations: 63.91 kB / 1.068 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.774e-05/0.3603, allocations: 4 kB / 1.068 GB, free: 12 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001707/0.3604, allocations: 39.64 kB / 1.068 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.824e-05/0.3605, allocations: 12 kB / 1.068 GB, free: 11.95 MB / 0.8262 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 (35): * Single equations (assignments): 35 * 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.000163/0.3606, allocations: 161.7 kB / 1.068 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.52e-05/0.3607, allocations: 23.72 kB / 1.068 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006713/0.3614, allocations: 388.3 kB / 1.068 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.3614, allocations: 4 kB / 1.068 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.3614, allocations: 0 / 1.068 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.3614, allocations: 3.938 kB / 1.068 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003145/0.3617, allocations: 325.3 kB / 1.069 GB, free: 11 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.175e-06/0.3617, allocations: 0 / 1.069 GB, free: 11 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001714/0.3619, allocations: 59.91 kB / 1.069 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.3619, allocations: 0 / 1.069 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.101e-05/0.3619, allocations: 8 kB / 1.069 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.362, allocations: 8 kB / 1.069 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.362, allocations: 0 / 1.069 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004454/0.3624, allocations: 319.1 kB / 1.069 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001247/0.3625, allocations: 144.7 kB / 1.069 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.02e-05/0.3626, allocations: 7.984 kB / 1.069 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001394/0.3627, allocations: 12 kB / 1.069 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.442e-05/0.3628, allocations: 35.95 kB / 1.069 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.803e-05/0.3629, allocations: 19.94 kB / 1.069 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002008/0.3631, allocations: 233.5 kB / 1.069 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3631, allocations: 3.938 kB / 1.069 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002923/0.3634, allocations: 59.91 kB / 1.07 GB, free: 10.08 MB / 0.8262 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 (34): * Single equations (assignments): 33 * 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.001009/0.3644, allocations: 404.9 kB / 1.07 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003978/0.3648, allocations: 228 kB / 1.07 GB, free: 9.598 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3648, allocations: 3.938 kB / 1.07 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001876/0.365, allocations: 127.9 kB / 1.07 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002813/0.3653, allocations: 33.59 kB / 1.07 GB, free: 9.438 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009303/0.3662, allocations: 0.6148 MB / 1.071 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003363/0.3666, allocations: 0.7574 MB / 1.072 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/0.3667, allocations: 43.42 kB / 1.072 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of SimCode: time 3.61e-07/0.3667, allocations: 0 / 1.072 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of Templates: time 0.007316/0.374, allocations: 4.169 MB / 1.076 GB, free: 3.805 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches