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.001818/0.001818, allocations: 109 kB / 16.42 MB, free: 6.434 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.001791/0.001791, allocations: 187.9 kB / 17.35 MB, free: 5.688 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.377/1.377, allocations: 222.9 MB / 241.1 MB, free: 15.05 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.517/2.517, allocations: 437.1 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 71.89 kB / 1.019 GB, free: 9.434 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.903/0.9046, allocations: 151.6 MB / 1.167 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.003779/0.9084, allocations: 2.208 MB / 1.169 GB, free: 1.641 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001074/0.9095, allocations: 0.5414 MB / 1.17 GB, free: 1.098 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001583/0.9097, allocations: 7.938 kB / 1.17 GB, free: 1.09 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001881/0.9098, allocations: 43.47 kB / 1.17 GB, free: 1.047 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001226/0.91, allocations: 47.55 kB / 1.17 GB, free: 1 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003325/0.9103, allocations: 131.8 kB / 1.17 GB, free: 0.8711 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003997/0.9107, allocations: 372.2 kB / 1.171 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003136/0.911, allocations: 173.1 kB / 1.171 GB, free: 344 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001953/0.9113, allocations: 135.5 kB / 1.171 GB, free: 208 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001743/0.9114, allocations: 135.3 kB / 1.171 GB, free: 72 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 5.497e-05/0.9115, allocations: 44 kB / 1.171 GB, free: 28 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 6.227e-05/0.9116, allocations: 40.05 kB / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 7.297e-05/0.9116, allocations: 79.72 kB / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001453/0.9118, allocations: 151.1 kB / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0005107/0.9123, allocations: 486.7 kB / 1.172 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.9123, allocations: 0 / 1.172 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.645e-06/0.9123, allocations: 0 / 1.172 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.395e-05/0.9124, 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.001036/0.9134, allocations: 0.6117 MB / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.9134, allocations: 8.922 kB / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.84e-05/0.9135, allocations: 36.7 kB / 1.172 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004895/0.914, allocations: 327.5 kB / 1.173 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.9141, allocations: 16.94 kB / 1.173 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.957e-05/0.9141, allocations: 28.38 kB / 1.173 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005358/0.9147, allocations: 280.2 kB / 1.173 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.9147, allocations: 3.938 kB / 1.173 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.891e-05/0.9147, allocations: 15.94 kB / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.9147, allocations: 4 kB / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005027/0.9152, allocations: 206.1 kB / 1.173 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001408/0.9167, allocations: 0.9861 MB / 1.174 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000479/0.9171, allocations: 275.9 kB / 1.174 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002294/0.9174, allocations: 106.4 kB / 1.175 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.679e-05/0.9174, allocations: 0 / 1.175 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.58e-05/0.9175, allocations: 38.62 kB / 1.175 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=16): time 1.302e-06/0.9175, allocations: 0 / 1.175 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of matching and sorting (n=16): time 0.00073/0.9182, allocations: 257.4 kB / 1.175 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.401e-05/0.9183, allocations: 55.41 kB / 1.175 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000285/0.9185, allocations: 266.7 kB / 1.175 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.77e-05/0.9186, allocations: 29.7 kB / 1.175 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/0.9187, allocations: 184.2 kB / 1.175 GB, free: 11.37 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.859e-05/0.9188, allocations: 67.47 kB / 1.175 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.675e-05/0.9189, allocations: 37.7 kB / 1.175 GB, free: 11.26 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.919, allocations: 342.8 kB / 1.176 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002208/0.9192, allocations: 84.61 kB / 1.176 GB, free: 10.83 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002526/0.9195, allocations: 114.9 kB / 1.176 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004276/0.9199, allocations: 198.4 kB / 1.176 GB, free: 10.49 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.9199, allocations: 3.938 kB / 1.176 GB, free: 10.49 MB / 0.9044 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000522/0.9205, allocations: 243.4 kB / 1.176 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.9205, allocations: 8 kB / 1.176 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.9205, allocations: 0 / 1.176 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.9205, allocations: 8.125 kB / 1.176 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002342/0.9208, allocations: 39.97 kB / 1.176 GB, free: 10.19 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.9208, allocations: 3.938 kB / 1.176 GB, free: 10.19 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001546/0.921, allocations: 35.77 kB / 1.176 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.828e-05/0.921, allocations: 11.98 kB / 1.177 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002619/0.9213, allocations: 176.1 kB / 1.177 GB, free: 9.965 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001964/0.9215, allocations: 117.1 kB / 1.177 GB, free: 9.832 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003402/0.9218, allocations: 178.1 kB / 1.177 GB, free: 9.645 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.082e-06/0.9218, allocations: 0 / 1.177 GB, free: 9.645 MB / 0.9044 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.000471/0.9223, allocations: 245.2 kB / 1.177 GB, free: 9.398 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.9223, allocations: 4 kB / 1.177 GB, free: 9.395 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-06/0.9223, allocations: 0 / 1.177 GB, free: 9.395 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.973e-06/0.9223, allocations: 4 kB / 1.177 GB, free: 9.391 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000186/0.9225, allocations: 48.03 kB / 1.177 GB, free: 9.344 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.9225, allocations: 4 kB / 1.177 GB, free: 9.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001429/0.9227, allocations: 23.88 kB / 1.177 GB, free: 9.316 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/0.9227, allocations: 4 kB / 1.177 GB, free: 9.312 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.0001261/0.9228, allocations: 192.2 kB / 1.177 GB, free: 9.117 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.988e-05/0.9229, allocations: 27.81 kB / 1.177 GB, free: 9.09 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005915/0.9235, allocations: 223.6 kB / 1.178 GB, free: 8.855 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.9235, allocations: 0 / 1.178 GB, free: 8.855 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.9235, allocations: 0 / 1.178 GB, free: 8.855 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.358e-05/0.9236, allocations: 101 kB / 1.178 GB, free: 8.738 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.015e-05/0.9236, allocations: 0 / 1.178 GB, free: 8.738 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001662/0.9238, allocations: 19.97 kB / 1.178 GB, free: 8.719 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.93e-05/0.9239, allocations: 11.92 kB / 1.178 GB, free: 8.707 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006096/0.9245, allocations: 291.3 kB / 1.178 GB, free: 8.418 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007901/0.9253, allocations: 474.4 kB / 1.179 GB, free: 7.938 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002109/0.9255, allocations: 86.25 kB / 1.179 GB, free: 7.855 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002019/0.9257, allocations: 194 kB / 1.179 GB, free: 7.668 MB / 0.9044 GB Notification: Performance of Backend: time 5.91e-07/0.9257, allocations: 0 / 1.179 GB, free: 7.668 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0008387/0.9266, allocations: 304.4 kB / 1.179 GB, free: 7.367 MB / 0.9044 GB Notification: Performance of SimCode: time 0.001075/0.9277, allocations: 0.9105 MB / 1.18 GB, free: 6.41 MB / 0.9044 GB Notification: Performance of Templates: time 0.007466/0.9351, allocations: 3.288 MB / 1.183 GB, free: 3.145 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