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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001429/0.001429, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001714/0.001714, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.506/1.506, allocations: 223.3 MB / 240 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.586/2.586, allocations: 390.9 MB / 0.666 GB, free: 2.457 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003452/0.0003453, allocations: 8 kB / 0.8154 GB, free: 13.62 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7993/0.7996, allocations: 142.4 MB / 0.9544 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002125/0.8018, allocations: 1.329 MB / 0.9557 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001599/0.8034, allocations: 1.087 MB / 0.9568 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.682e-05/0.8035, allocations: 1.125 kB / 0.9568 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002258/0.8038, allocations: 19.41 kB / 0.9568 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002404/0.804, allocations: 55.7 kB / 0.9569 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000331/0.8044, allocations: 124.7 kB / 0.957 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002414/0.8046, allocations: 193.8 kB / 0.9572 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.8047, allocations: 23.77 kB / 0.9572 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.418e-05/0.8048, allocations: 63.11 kB / 0.9573 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002135/0.805, allocations: 91.8 kB / 0.9573 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.112e-05/0.8051, allocations: 7.875 kB / 0.9574 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001582/0.8052, allocations: 56.42 kB / 0.9574 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.509e-05/0.8053, allocations: 68.73 kB / 0.9575 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.757e-05/0.8054, allocations: 58.17 kB / 0.9575 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002323/0.8056, allocations: 193 kB / 0.9577 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.8056, allocations: 0 / 0.9577 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.413e-06/0.8057, allocations: 1.031 kB / 0.9577 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.822e-06/0.8057, allocations: 4 kB / 0.9577 GB, free: 5.176 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.0006534/0.8063, allocations: 494 kB / 0.9582 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.8064, allocations: 9.5 kB / 0.9582 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.838e-05/0.8064, allocations: 32.69 kB / 0.9582 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002491/0.8067, allocations: 254.3 kB / 0.9585 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.68e-05/0.8067, allocations: 11.03 kB / 0.9585 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.023e-05/0.8068, allocations: 13.91 kB / 0.9585 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003321/0.8071, allocations: 220.4 kB / 0.9587 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.8071, allocations: 0 / 0.9587 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.305e-05/0.8072, allocations: 5.375 kB / 0.9587 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.293e-06/0.8072, allocations: 4.156 kB / 0.9587 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008537/0.808, allocations: 0.7424 MB / 0.9594 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008591/0.8089, allocations: 0.5611 MB / 0.96 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005174/0.8094, allocations: 300.8 kB / 0.9603 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000164/0.8096, allocations: 101.3 kB / 0.9604 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.716e-05/0.8097, allocations: 17.62 kB / 0.9604 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003697/0.81, allocations: 182.1 kB / 0.9606 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=34): time 1.873e-06/0.8101, allocations: 1.125 kB / 0.9606 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of matching and sorting (n=34): time 0.0007125/0.8108, allocations: 363.3 kB / 0.9609 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.038e-05/0.8109, allocations: 133.1 kB / 0.961 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003642/0.8112, allocations: 299 kB / 0.9613 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.616e-05/0.8113, allocations: 30.7 kB / 0.9613 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.252e-05/0.8114, allocations: 126.1 kB / 0.9615 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.68e-05/0.8115, allocations: 116.8 kB / 0.9616 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.473e-05/0.8115, allocations: 9.312 kB / 0.9616 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.809e-05/0.8116, allocations: 342.9 kB / 0.9619 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/0.8117, allocations: 78.95 kB / 0.962 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001837/0.8119, allocations: 126.9 kB / 0.9621 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001813/0.8121, allocations: 102.3 kB / 0.9622 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.8121, allocations: 0 / 0.9622 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004519/0.8126, allocations: 278.3 kB / 0.9625 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.8126, allocations: 8.328 kB / 0.9625 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.8126, allocations: 5.094 kB / 0.9625 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.8126, allocations: 1.062 kB / 0.9625 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002472/0.8129, allocations: 60.72 kB / 0.9625 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.8129, allocations: 0 / 0.9625 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001391/0.8131, allocations: 26.45 kB / 0.9626 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.674e-05/0.8131, allocations: 18.31 kB / 0.9626 GB, free: 1.605 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 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001674/0.8133, allocations: 159.7 kB / 0.9627 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.402e-05/0.8133, allocations: 27.77 kB / 0.9628 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006607/0.814, allocations: 399.2 kB / 0.9631 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.814, allocations: 2.469 kB / 0.9632 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.814, allocations: 1.188 kB / 0.9632 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.814, allocations: 0 / 0.9632 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002833/0.8143, allocations: 328.6 kB / 0.9635 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.8143, allocations: 0 / 0.9635 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001791/0.8145, allocations: 61.09 kB / 0.9635 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.8145, allocations: 5.469 kB / 0.9635 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.133e-05/0.8145, allocations: 11.94 kB / 0.9635 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.8146, allocations: 4.953 kB / 0.9635 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.8146, allocations: 1.125 kB / 0.9635 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004378/0.815, allocations: 321 kB / 0.9639 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.8151, allocations: 146.4 kB / 0.964 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.929e-05/0.8152, allocations: 4 kB / 0.964 GB, free: 0.5508 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/0.8153, allocations: 22.98 kB / 0.964 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.15e-05/0.8154, allocations: 30.31 kB / 0.964 GB, free: 0.5195 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.787e-05/0.8154, allocations: 12.69 kB / 0.9641 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001963/0.8156, allocations: 231.6 kB / 0.9643 GB, free: 380 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8156, allocations: 0 / 0.9643 GB, free: 380 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003041/0.8159, allocations: 55.41 kB / 0.9643 GB, free: 368 kB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000962/0.8169, allocations: 411.9 kB / 0.9647 GB, free: 160 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004399/0.8173, allocations: 229.8 kB / 0.9649 GB, free: 64 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.8173, allocations: 0 / 0.9649 GB, free: 64 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002048/0.8176, allocations: 124.7 kB / 0.9651 GB, free: 16 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003145/0.8179, allocations: 33.39 kB / 0.9651 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/0.8189, allocations: 0.5588 MB / 0.9656 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005375/0.8195, allocations: 0.7539 MB / 0.9664 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003552/0.8198, allocations: 147.2 kB / 0.9665 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9e-05/0.8199, allocations: 40.42 kB / 0.9666 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of SimCode: time 3.91e-07/0.8199, allocations: 0 / 0.9666 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of Templates: time 0.007212/0.8271, allocations: 2.781 MB / 0.9693 GB, free: 13.41 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