Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.OBC.CDL.Reals.Validation.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|line1.u|line1.y|line2.y|line3.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|line1.u|line1.y|line2.y|line3.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009101/0.009101, allocations: 99.34 kB / 15.73 MB, free: 6.043 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.001666/0.001666, allocations: 196.1 kB / 16.67 MB, free: 5.977 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.483/1.483, allocations: 222.9 MB / 240.4 MB, free: 4.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.922/2.922, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 63.91 kB / 1.054 GB, free: 7.086 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4292/0.4304, allocations: 157.4 MB / 1.208 GB, free: 9.574 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.003485/0.434, allocations: 0.8906 MB / 1.209 GB, free: 8.684 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001998/0.436, allocations: 0.8897 MB / 1.21 GB, free: 7.781 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001703/0.4362, allocations: 3.938 kB / 1.21 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 7.543e-05/0.4363, allocations: 7.875 kB / 1.21 GB, free: 7.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001344/0.4365, allocations: 15.81 kB / 1.21 GB, free: 7.754 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003829/0.4369, allocations: 67.84 kB / 1.21 GB, free: 7.688 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000373/0.4373, allocations: 135.8 kB / 1.21 GB, free: 7.555 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002657/0.4376, allocations: 65.41 kB / 1.21 GB, free: 7.488 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001454/0.4377, allocations: 47.84 kB / 1.21 GB, free: 7.441 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001344/0.4379, allocations: 59.69 kB / 1.21 GB, free: 7.383 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.793e-05/0.4379, allocations: 12 kB / 1.21 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 4.084e-05/0.438, allocations: 19.94 kB / 1.21 GB, free: 7.352 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.735e-05/0.438, allocations: 35.84 kB / 1.21 GB, free: 7.316 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.318e-05/0.4381, allocations: 59.66 kB / 1.21 GB, free: 7.258 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002619/0.4384, allocations: 135.5 kB / 1.21 GB, free: 7.125 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.4384, allocations: 0 / 1.21 GB, free: 7.125 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.555e-06/0.4384, allocations: 0 / 1.21 GB, free: 7.125 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.298e-06/0.4384, allocations: 4 kB / 1.21 GB, free: 7.121 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0009307/0.4394, allocations: 447.1 kB / 1.211 GB, free: 6.633 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.382e-05/0.4395, allocations: 8.625 kB / 1.211 GB, free: 6.625 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.22e-05/0.4395, allocations: 16.75 kB / 1.211 GB, free: 6.609 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004225/0.44, allocations: 216 kB / 1.211 GB, free: 6.359 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.44, allocations: 12.38 kB / 1.211 GB, free: 6.348 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.026e-05/0.44, allocations: 16.38 kB / 1.211 GB, free: 6.332 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005858/0.4406, allocations: 146.2 kB / 1.211 GB, free: 6.184 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.4407, allocations: 8.125 kB / 1.211 GB, free: 6.176 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.221e-05/0.4407, allocations: 7.938 kB / 1.211 GB, free: 6.168 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.4407, allocations: 4 kB / 1.211 GB, free: 6.164 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004636/0.4412, allocations: 132.4 kB / 1.211 GB, free: 6.035 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001144/0.4424, allocations: 484 kB / 1.212 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002766/0.4427, allocations: 90.48 kB / 1.212 GB, free: 5.414 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001819/0.4429, allocations: 48.95 kB / 1.212 GB, free: 5.363 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.867e-05/0.4429, allocations: 4 kB / 1.212 GB, free: 5.359 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.601e-05/0.4429, allocations: 30.56 kB / 1.212 GB, free: 5.32 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=10): time 1.984e-06/0.4429, allocations: 0 / 1.212 GB, free: 5.32 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10): time 0.0006933/0.4436, allocations: 165.3 kB / 1.212 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/0.4437, allocations: 59.41 kB / 1.212 GB, free: 5.082 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002577/0.444, allocations: 191.5 kB / 1.212 GB, free: 4.875 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.464e-05/0.444, allocations: 25.7 kB / 1.212 GB, free: 4.844 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.4441, allocations: 115.9 kB / 1.212 GB, free: 4.727 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.183e-05/0.4442, allocations: 39.53 kB / 1.212 GB, free: 4.688 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.317e-05/0.4443, allocations: 25.72 kB / 1.212 GB, free: 4.656 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.4444, allocations: 330.8 kB / 1.213 GB, free: 4.324 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001765/0.4446, allocations: 35.98 kB / 1.213 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001711/0.4448, allocations: 46.09 kB / 1.213 GB, free: 4.246 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000343/0.4452, allocations: 92.75 kB / 1.213 GB, free: 4.152 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.4452, allocations: 0 / 1.213 GB, free: 4.152 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004663/0.4456, allocations: 158.1 kB / 1.213 GB, free: 3.992 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.4457, allocations: 4 kB / 1.213 GB, free: 3.988 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.4457, allocations: 0 / 1.213 GB, free: 3.988 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.4457, allocations: 0 / 1.213 GB, free: 3.988 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002214/0.4459, allocations: 23.98 kB / 1.213 GB, free: 3.965 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.446, allocations: 0 / 1.213 GB, free: 3.965 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001542/0.4461, allocations: 23.83 kB / 1.213 GB, free: 3.941 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.83e-05/0.4462, allocations: 7.938 kB / 1.213 GB, free: 3.934 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 13 * 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.0001427/0.4463, allocations: 133.7 kB / 1.213 GB, free: 3.793 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.988e-05/0.4464, allocations: 15.81 kB / 1.213 GB, free: 3.777 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004803/0.4469, allocations: 135 kB / 1.213 GB, free: 3.633 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.4469, allocations: 3.984 kB / 1.213 GB, free: 3.629 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.4469, allocations: 0 / 1.213 GB, free: 3.629 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.4469, allocations: 0 / 1.213 GB, free: 3.629 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008263/0.4478, allocations: 460.8 kB / 1.214 GB, free: 3.113 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.4478, allocations: 0 / 1.214 GB, free: 3.113 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001507/0.4479, allocations: 23.92 kB / 1.214 GB, free: 3.09 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.305e-06/0.4479, allocations: 4.469 kB / 1.214 GB, free: 3.086 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.448, allocations: 0 / 1.214 GB, free: 3.086 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.448, allocations: 3.984 kB / 1.214 GB, free: 3.082 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.448, allocations: 4 kB / 1.214 GB, free: 3.078 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004775/0.4485, allocations: 241.9 kB / 1.214 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.753e-05/0.4486, allocations: 100.8 kB / 1.214 GB, free: 2.699 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.233e-05/0.4486, allocations: 4 kB / 1.214 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001855/0.4488, allocations: 23.98 kB / 1.214 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.881e-05/0.4489, allocations: 11.92 kB / 1.214 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.4489, allocations: 4 kB / 1.214 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001466/0.449, allocations: 140.1 kB / 1.214 GB, free: 2.52 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.224e-06/0.4491, allocations: 0 / 1.214 GB, free: 2.52 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003962/0.4495, allocations: 27.94 kB / 1.214 GB, free: 2.492 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (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 Backend phase and start with SimCode phase: time 0.0002108/0.4497, allocations: 111.2 kB / 1.214 GB, free: 2.375 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004069/0.4501, allocations: 95.88 kB / 1.215 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4501, allocations: 0 / 1.215 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001879/0.4503, allocations: 51.91 kB / 1.215 GB, free: 2.23 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004264/0.4507, allocations: 12 kB / 1.215 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000709/0.4515, allocations: 253.6 kB / 1.215 GB, free: 1.938 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003517/0.4518, allocations: 0.7122 MB / 1.216 GB, free: 1.199 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 7.62e-05/0.4519, allocations: 17.08 kB / 1.216 GB, free: 1.184 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.997e-05/0.452, allocations: 15.44 kB / 1.216 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of SimCode: time 3.81e-07/0.452, allocations: 0 / 1.216 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of Templates: time 0.005609/0.4576, allocations: 1.203 MB / 1.217 GB, free: 15.97 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Line.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches