Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.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.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TRoo_in|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TRoo_in|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 111.3 kB / 16.37 MB, free: 6.016 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.001437/0.001437, allocations: 197.5 kB / 17.31 MB, free: 5.613 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.352/1.352, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.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.353/2.353, allocations: 390.3 MB / 0.6655 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.00144, allocations: 66.52 kB / 0.814 GB, free: 32.64 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4096/0.4111, allocations: 140.4 MB / 0.9511 GB, free: 8.078 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.00377/0.4149, allocations: 1.824 MB / 0.9529 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0003275/0.4153, allocations: 111.6 kB / 0.953 GB, free: 6.137 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.912e-05/0.4154, allocations: 8 kB / 0.953 GB, free: 6.129 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.000143/0.4155, allocations: 23.78 kB / 0.953 GB, free: 6.105 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.4e-05/0.4157, allocations: 39.58 kB / 0.9531 GB, free: 6.066 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001509/0.4158, allocations: 35.94 kB / 0.9531 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002582/0.4161, allocations: 175.1 kB / 0.9533 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001564/0.4162, allocations: 25.12 kB / 0.9533 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/0.4163, allocations: 55.78 kB / 0.9534 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001243/0.4165, allocations: 63.75 kB / 0.9534 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.166e-05/0.4165, allocations: 12 kB / 0.9534 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.57e-05/0.4165, allocations: 8 kB / 0.9534 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.928e-05/0.4166, allocations: 23.92 kB / 0.9535 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.374e-05/0.4167, allocations: 75.64 kB / 0.9535 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002036/0.4169, allocations: 123.5 kB / 0.9536 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.286e-06/0.4169, allocations: 4 kB / 0.9536 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.294e-06/0.4169, allocations: 3.938 kB / 0.9537 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.072e-06/0.4169, allocations: 0 / 0.9537 GB, free: 5.469 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008745/0.4178, allocations: 446.8 kB / 0.9541 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.4179, allocations: 12.03 kB / 0.9541 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.367e-05/0.4179, allocations: 20.75 kB / 0.9541 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003364/0.4183, allocations: 203.2 kB / 0.9543 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.4183, allocations: 16.3 kB / 0.9543 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.959e-05/0.4183, allocations: 4.375 kB / 0.9543 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002904/0.4186, allocations: 114.4 kB / 0.9544 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.4186, allocations: 192 / 0.9544 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.944e-05/0.4187, allocations: 7.938 kB / 0.9544 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.4187, allocations: 8 kB / 0.9544 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002777/0.419, allocations: 95.92 kB / 0.9545 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007877/0.4198, allocations: 480.5 kB / 0.955 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003912/0.4202, allocations: 133.2 kB / 0.9551 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001656/0.4203, allocations: 57.78 kB / 0.9552 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.071e-05/0.4204, allocations: 7.938 kB / 0.9552 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.068e-05/0.4204, allocations: 38.56 kB / 0.9552 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=9): time 1.212e-06/0.4204, allocations: 0 / 0.9552 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9): time 0.0005615/0.421, allocations: 177.4 kB / 0.9554 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.272e-05/0.4211, allocations: 81.11 kB / 0.9555 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/0.4212, allocations: 175.9 kB / 0.9556 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.4212, allocations: 25.7 kB / 0.9557 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.594e-05/0.4213, allocations: 112 kB / 0.9558 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.359e-05/0.4214, allocations: 35.61 kB / 0.9558 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.99e-05/0.4214, allocations: 21.72 kB / 0.9558 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.4216, allocations: 322.8 kB / 0.9561 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.4217, allocations: 47.91 kB / 0.9562 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001344/0.4219, allocations: 57.69 kB / 0.9562 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002571/0.4221, allocations: 105.7 kB / 0.9563 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.4221, allocations: 0 / 0.9563 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003292/0.4225, allocations: 149.4 kB / 0.9565 GB, free: 2.316 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.4225, allocations: 4 kB / 0.9565 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.4225, allocations: 0 / 0.9565 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.4225, allocations: 4 kB / 0.9565 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001532/0.4227, allocations: 20.36 kB / 0.9565 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.4227, allocations: 0 / 0.9565 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001168/0.4228, allocations: 15.98 kB / 0.9565 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.86e-05/0.4229, allocations: 11.94 kB / 0.9565 GB, free: 2.262 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001368/0.423, allocations: 125.8 kB / 0.9566 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.56e-05/0.4231, allocations: 11.81 kB / 0.9567 GB, free: 2.117 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004347/0.4235, allocations: 154.7 kB / 0.9568 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.4235, allocations: 0 / 0.9568 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.4235, allocations: 7.938 kB / 0.9568 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.4235, allocations: 0 / 0.9568 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003525/0.4239, allocations: 225.5 kB / 0.957 GB, free: 1.684 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.4239, allocations: 8 kB / 0.957 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000138/0.4241, allocations: 19.98 kB / 0.9571 GB, free: 1.656 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.4241, allocations: 0 / 0.9571 GB, free: 1.656 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.4241, allocations: 0 / 0.9571 GB, free: 1.656 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.4241, allocations: 0 / 0.9571 GB, free: 1.656 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.4241, allocations: 4 kB / 0.9571 GB, free: 1.652 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004417/0.4246, allocations: 318.4 kB / 0.9574 GB, free: 1.324 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.855e-05/0.4246, allocations: 93 kB / 0.9575 GB, free: 1.215 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.948e-05/0.4247, allocations: 0 / 0.9575 GB, free: 1.215 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001689/0.4248, allocations: 11.98 kB / 0.9575 GB, free: 1.203 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.637e-05/0.4249, allocations: 8 kB / 0.9575 GB, free: 1.195 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.4249, allocations: 3.938 kB / 0.9575 GB, free: 1.191 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001164/0.4251, allocations: 132.2 kB / 0.9576 GB, free: 1.062 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.374e-06/0.4251, allocations: 4 kB / 0.9576 GB, free: 1.059 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000311/0.4254, allocations: 31.94 kB / 0.9576 GB, free: 1.027 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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 Backend phase and start with SimCode phase: time 0.0001522/0.4255, allocations: 99.25 kB / 0.9577 GB, free: 0.9219 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003906/0.4259, allocations: 103.9 kB / 0.9578 GB, free: 0.8203 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.426, allocations: 0 / 0.9578 GB, free: 0.8203 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001573/0.4261, allocations: 55.97 kB / 0.9579 GB, free: 0.7656 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004761/0.4266, allocations: 48.73 kB / 0.9579 GB, free: 0.7188 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006312/0.4272, allocations: 235.4 kB / 0.9582 GB, free: 468 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003732/0.4276, allocations: 0.7123 MB / 0.9588 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 7.419e-05/0.4277, allocations: 8.656 kB / 0.9589 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.748e-05/0.4278, allocations: 15.44 kB / 0.9589 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of SimCode: time 3.7e-07/0.4278, allocations: 0 / 0.9589 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of Templates: time 0.006188/0.434, allocations: 2.093 MB / 0.9609 GB, free: 13.66 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (rm -f Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches