Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.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.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conRadSup.TRoo|conRadSup.TSup|conRadSup.yVal",fileNamePrefix="Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conRadSup.TRoo|conRadSup.TSup|conRadSup.yVal",fileNamePrefix="Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00169/0.00169, allocations: 112 kB / 16.41 MB, free: 6.484 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.001881/0.001882, allocations: 183 kB / 17.34 MB, free: 5.762 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.357/1.357, 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 10.1.1-maint.10.0.x/package.mo): time 2.363/2.363, allocations: 437 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 59.91 kB / 1.019 GB, free: 9.441 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8119/0.8133, allocations: 151.6 MB / 1.167 GB, free: 3.867 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.003519/0.8169, allocations: 2.21 MB / 1.169 GB, free: 1.641 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001176/0.8181, allocations: 0.5336 MB / 1.17 GB, free: 1.105 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002355/0.8183, allocations: 4 kB / 1.17 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0002031/0.8186, allocations: 47.47 kB / 1.17 GB, free: 1.055 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001667/0.8188, allocations: 51.58 kB / 1.17 GB, free: 1.004 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003545/0.8191, allocations: 135.8 kB / 1.17 GB, free: 0.8711 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0004516/0.8196, allocations: 368.2 kB / 1.171 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00035/0.8199, allocations: 173.1 kB / 1.171 GB, free: 348 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002437/0.8202, allocations: 135.5 kB / 1.171 GB, free: 212 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001901/0.8204, allocations: 151.2 kB / 1.171 GB, free: 60 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 6.742e-05/0.8205, allocations: 40 kB / 1.171 GB, free: 20 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 6.472e-05/0.8205, allocations: 40.05 kB / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 6.845e-05/0.8206, allocations: 75.72 kB / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.000143/0.8208, allocations: 155.2 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0004965/0.8213, allocations: 474.2 kB / 1.172 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.8213, allocations: 0 / 1.172 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.714e-06/0.8213, allocations: 0 / 1.172 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.059e-05/0.8213, allocations: 0 / 1.172 GB, free: 15.29 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001164/0.8225, allocations: 0.6098 MB / 1.172 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.8225, allocations: 8.922 kB / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.254e-05/0.8226, allocations: 36.56 kB / 1.172 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005569/0.8232, allocations: 319.3 kB / 1.173 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.592e-05/0.8232, allocations: 20.94 kB / 1.173 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.558e-05/0.8233, allocations: 28.36 kB / 1.173 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005706/0.8239, allocations: 276.2 kB / 1.173 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.8239, allocations: 11.92 kB / 1.173 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.746e-05/0.8239, allocations: 8 kB / 1.173 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.8239, allocations: 8 kB / 1.173 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005163/0.8245, allocations: 210.1 kB / 1.173 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001528/0.826, allocations: 0.9664 MB / 1.174 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004876/0.8265, allocations: 271.9 kB / 1.174 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00023/0.8267, allocations: 105.8 kB / 1.175 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.956e-05/0.8268, allocations: 4 kB / 1.175 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.456e-05/0.8268, allocations: 42.48 kB / 1.175 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=16): time 2.224e-06/0.8268, allocations: 0 / 1.175 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of matching and sorting (n=16): time 0.0007031/0.8275, allocations: 251.5 kB / 1.175 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/0.8276, allocations: 59.41 kB / 1.175 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002956/0.8279, allocations: 270.7 kB / 1.175 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/0.8279, allocations: 25.7 kB / 1.175 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/0.8281, allocations: 184 kB / 1.175 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.475e-05/0.8281, allocations: 55.2 kB / 1.175 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.04e-05/0.8282, allocations: 49.61 kB / 1.175 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.8283, allocations: 334.8 kB / 1.176 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002156/0.8285, allocations: 88.67 kB / 1.176 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002223/0.8288, allocations: 123.3 kB / 1.176 GB, free: 10.72 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004029/0.8292, allocations: 194.3 kB / 1.176 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.8292, allocations: 3.984 kB / 1.176 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005375/0.8297, allocations: 243.5 kB / 1.176 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.8298, allocations: 4 kB / 1.176 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.8298, allocations: 64 / 1.176 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.259e-05/0.8298, allocations: 11.94 kB / 1.176 GB, free: 10.26 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002423/0.8301, allocations: 47.91 kB / 1.176 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.8301, allocations: 4 kB / 1.176 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001649/0.8302, allocations: 27.95 kB / 1.176 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.91e-05/0.8303, allocations: 8 kB / 1.176 GB, free: 10.17 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000258/0.8305, allocations: 176.1 kB / 1.177 GB, free: 9.996 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001815/0.8307, allocations: 113 kB / 1.177 GB, free: 9.867 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003407/0.8311, allocations: 184.2 kB / 1.177 GB, free: 9.672 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.192e-06/0.8311, allocations: 0 / 1.177 GB, free: 9.672 MB / 0.9044 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004538/0.8315, allocations: 247 kB / 1.177 GB, free: 9.426 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.8316, allocations: 4 kB / 1.177 GB, free: 9.422 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.315e-06/0.8316, allocations: 7.938 kB / 1.177 GB, free: 9.414 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.937e-06/0.8316, allocations: 0 / 1.177 GB, free: 9.414 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001803/0.8318, allocations: 39.97 kB / 1.177 GB, free: 9.375 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.8318, allocations: 4 kB / 1.177 GB, free: 9.371 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001305/0.8319, allocations: 19.84 kB / 1.177 GB, free: 9.352 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.083e-05/0.832, allocations: 16.11 kB / 1.177 GB, free: 9.336 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (conRadSup.conPIDRad.con1.y,conRadSup.conPIDRad.cheYMinMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.0001224/0.8321, allocations: 192.1 kB / 1.177 GB, free: 9.141 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.413e-05/0.8321, allocations: 27.7 kB / 1.177 GB, free: 9.113 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005521/0.8327, allocations: 215.6 kB / 1.178 GB, free: 8.887 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.8327, allocations: 4 kB / 1.178 GB, free: 8.883 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.8327, allocations: 4 kB / 1.178 GB, free: 8.879 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/0.8327, allocations: 3.984 kB / 1.178 GB, free: 8.875 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009374/0.8337, allocations: 0.6216 MB / 1.178 GB, free: 8.199 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.8337, allocations: 0 / 1.178 GB, free: 8.199 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001995/0.8339, allocations: 43.91 kB / 1.178 GB, free: 8.156 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.8339, allocations: 0 / 1.178 GB, free: 8.156 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.8339, allocations: 4 kB / 1.178 GB, free: 8.152 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.8339, allocations: 7.938 kB / 1.178 GB, free: 8.145 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.834, allocations: 0 / 1.178 GB, free: 8.145 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006955/0.8347, allocations: 395 kB / 1.179 GB, free: 7.742 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.646e-05/0.8347, allocations: 104.8 kB / 1.179 GB, free: 7.621 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.208e-05/0.8348, allocations: 4 kB / 1.179 GB, free: 7.617 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001607/0.8349, allocations: 15.98 kB / 1.179 GB, free: 7.602 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.654e-05/0.835, allocations: 7.984 kB / 1.179 GB, free: 7.594 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/0.835, allocations: 11.92 kB / 1.179 GB, free: 7.582 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001895/0.8352, allocations: 201.9 kB / 1.179 GB, free: 7.387 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8352, allocations: 0 / 1.179 GB, free: 7.387 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004054/0.8356, allocations: 79.69 kB / 1.179 GB, free: 7.309 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (conRadSup.conPIDRad.I.y) * 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 (17): * Single equations (assignments): 17 * 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.0001362/0.8358, allocations: 107.3 kB / 1.179 GB, free: 7.195 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0007062/0.8365, allocations: 279.6 kB / 1.179 GB, free: 6.922 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.8365, allocations: 0.5 kB / 1.179 GB, free: 6.922 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001985/0.8367, allocations: 94.48 kB / 1.18 GB, free: 6.832 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004091/0.8371, allocations: 43.28 kB / 1.18 GB, free: 6.793 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009522/0.8381, allocations: 0.489 MB / 1.18 GB, free: 6.273 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/0.8384, allocations: 0.7597 MB / 1.181 GB, free: 5.488 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.004e-05/0.8385, allocations: 19.44 kB / 1.181 GB, free: 5.469 MB / 0.9044 GB Notification: Performance of SimCode: time 3.6e-07/0.8385, allocations: 4 kB / 1.181 GB, free: 5.465 MB / 0.9044 GB Notification: Performance of Templates: time 0.005556/0.8441, allocations: 3.152 MB / 1.184 GB, free: 2.328 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.makefile (rm -f Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; mkfifo Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe >> ../files/Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.sim & ./Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches