Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.LimitMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limCeiHei.u|limCeiHei.ceiHei",fileNamePrefix="Buildings_9_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_9_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.0014/0.0014, allocations: 108 kB / 15.6 MB, free: 132 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.001827/0.001828, allocations: 197.6 kB / 16.54 MB, free: 6.672 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.395/1.395, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.337/2.337, allocations: 390.2 MB / 0.6647 GB, free: 444 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 71.89 kB / 0.8125 GB, free: 14.45 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6386/0.64, allocations: 140.4 MB / 0.9496 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002829/0.6429, allocations: 1.625 MB / 0.9512 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001447/0.6444, allocations: 1.155 MB / 0.9523 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.057e-05/0.6444, allocations: 5.375 kB / 0.9523 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002164/0.6447, allocations: 23.94 kB / 0.9523 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002606/0.645, allocations: 68.81 kB / 0.9524 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003248/0.6453, allocations: 139.2 kB / 0.9525 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002281/0.6455, allocations: 235.4 kB / 0.9528 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.6456, allocations: 25.05 kB / 0.9528 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.937e-05/0.6457, allocations: 76.11 kB / 0.9529 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001904/0.6459, allocations: 93.64 kB / 0.9529 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.824e-05/0.646, allocations: 18.22 kB / 0.953 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001375/0.6461, allocations: 83.05 kB / 0.953 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.269e-05/0.6462, allocations: 72.81 kB / 0.9531 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.738e-05/0.6463, allocations: 107.7 kB / 0.9532 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002871/0.6466, allocations: 266.4 kB / 0.9535 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.6466, allocations: 0 / 0.9535 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.964e-06/0.6466, allocations: 7.984 kB / 0.9535 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.6466, allocations: 0 / 0.9535 GB, free: 6.246 MB / 0.7169 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.0006763/0.6473, allocations: 0.5246 MB / 0.954 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.6474, allocations: 9.906 kB / 0.954 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.826e-05/0.6474, allocations: 24.19 kB / 0.954 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002431/0.6477, allocations: 267.9 kB / 0.9543 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.6477, allocations: 11.38 kB / 0.9543 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.163e-05/0.6478, allocations: 14.5 kB / 0.9543 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003165/0.6481, allocations: 229.5 kB / 0.9545 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.6481, allocations: 3.938 kB / 0.9545 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.221e-05/0.6481, allocations: 5.219 kB / 0.9545 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.6481, allocations: 4.531 kB / 0.9545 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007544/0.6489, allocations: 0.7389 MB / 0.9553 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006839/0.6496, allocations: 0.5706 MB / 0.9558 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004452/0.6501, allocations: 297.2 kB / 0.9561 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001434/0.6502, allocations: 103.6 kB / 0.9562 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.676e-05/0.6503, allocations: 17.25 kB / 0.9562 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003333/0.6506, allocations: 176.1 kB / 0.9564 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=34): time 1.883e-06/0.6506, allocations: 4 kB / 0.9564 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of matching and sorting (n=34): time 0.00064/0.6513, allocations: 367.7 kB / 0.9567 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.808e-05/0.6513, allocations: 140.8 kB / 0.9569 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002696/0.6516, allocations: 300 kB / 0.9572 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.6516, allocations: 31.08 kB / 0.9572 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.63e-05/0.6517, allocations: 122.3 kB / 0.9573 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.178e-05/0.6518, allocations: 112.1 kB / 0.9574 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.016e-05/0.6519, allocations: 69.12 kB / 0.9575 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.254e-05/0.6519, allocations: 343 kB / 0.9578 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.6521, allocations: 79.95 kB / 0.9579 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001663/0.6522, allocations: 131.9 kB / 0.958 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003003/0.6525, allocations: 208.4 kB / 0.9582 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.6525, allocations: 0 / 0.9582 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004184/0.653, allocations: 275.5 kB / 0.9585 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.653, allocations: 5.469 kB / 0.9585 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.653, allocations: 4 kB / 0.9585 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.653, allocations: 1.062 kB / 0.9585 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000229/0.6533, allocations: 63.91 kB / 0.9585 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.6533, allocations: 1.062 kB / 0.9585 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00015/0.6534, allocations: 32.45 kB / 0.9586 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.535e-05/0.6535, allocations: 12.75 kB / 0.9586 GB, free: 2.547 MB / 0.7169 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.0001273/0.6536, allocations: 161.5 kB / 0.9587 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.992e-05/0.6536, allocations: 24 kB / 0.9588 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006196/0.6543, allocations: 388.8 kB / 0.9591 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.952e-06/0.6543, allocations: 3.062 kB / 0.9591 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.6543, allocations: 1.281 kB / 0.9591 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.6543, allocations: 3.938 kB / 0.9591 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002547/0.6546, allocations: 331.4 kB / 0.9594 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.6546, allocations: 1.156 kB / 0.9594 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001712/0.6548, allocations: 56.16 kB / 0.9595 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.6548, allocations: 5.922 kB / 0.9595 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.313e-05/0.6548, allocations: 16.55 kB / 0.9595 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.6548, allocations: 1.906 kB / 0.9595 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.6548, allocations: 0 / 0.9595 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004548/0.6553, allocations: 328.8 kB / 0.9598 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.6554, allocations: 146 kB / 0.96 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.313e-05/0.6554, allocations: 6.594 kB / 0.96 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.6556, allocations: 15.69 kB / 0.96 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.837e-05/0.6557, allocations: 32.28 kB / 0.96 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.283e-05/0.6557, allocations: 17.36 kB / 0.96 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001883/0.6559, allocations: 232.7 kB / 0.9603 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6559, allocations: 0 / 0.9603 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003071/0.6562, allocations: 62.89 kB / 0.9603 GB, free: 1.297 MB / 0.7169 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.0009328/0.6572, allocations: 401.8 kB / 0.9607 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000507/0.6577, allocations: 301.3 kB / 0.961 GB, free: 1 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.6577, allocations: 5.344 kB / 0.961 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001825/0.6579, allocations: 129.5 kB / 0.9611 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002748/0.6582, allocations: 36.39 kB / 0.9612 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007482/0.6589, allocations: 499.9 kB / 0.9616 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002166/0.6592, allocations: 0.7574 MB / 0.9624 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000312/0.6595, allocations: 147.7 kB / 0.9625 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.913e-05/0.6596, allocations: 40.3 kB / 0.9626 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of SimCode: time 3.3e-07/0.6596, allocations: 0 / 0.9626 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of Templates: time 0.006711/0.6663, allocations: 2.976 MB / 0.9655 GB, free: 14.31 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches