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.001017/0.001017, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.00856/0.00856, allocations: 169.1 kB / 16.26 MB, free: 6.652 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.565/1.565, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.946/2.946, allocations: 462.7 MB / 0.7364 GB, free: 308 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003958/0.0003958, allocations: 11.41 kB / 0.9028 GB, free: 36.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.438/0.4384, allocations: 159.6 MB / 1.059 GB, free: 5.469 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.001362/0.4398, allocations: 0.6051 MB / 1.059 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001153/0.441, allocations: 0.8936 MB / 1.06 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.463e-05/0.4411, allocations: 4 kB / 1.06 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.007e-05/0.4411, allocations: 11.86 kB / 1.06 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.89e-05/0.4412, allocations: 0 / 1.06 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001938/0.4414, allocations: 55.94 kB / 1.06 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000206/0.4416, allocations: 131.7 kB / 1.06 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002219/0.4419, allocations: 49.47 kB / 1.06 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.593e-05/0.442, allocations: 47.72 kB / 1.06 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.031e-05/0.4421, allocations: 47.75 kB / 1.06 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.773e-05/0.4421, allocations: 8 kB / 1.06 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.548e-05/0.4421, allocations: 4 kB / 1.06 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.094e-05/0.4422, allocations: 23.86 kB / 1.061 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.875e-05/0.4423, allocations: 65.38 kB / 1.061 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001691/0.4424, allocations: 127.5 kB / 1.061 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.4424, allocations: 0 / 1.061 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.132e-06/0.4425, allocations: 0 / 1.061 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.4425, allocations: 0 / 1.061 GB, free: 3.387 MB / 0.8106 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.0006964/0.4432, allocations: 431.4 kB / 1.061 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.333e-05/0.4432, allocations: 8.031 kB / 1.061 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.819e-05/0.4433, allocations: 16.75 kB / 1.061 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002794/0.4436, allocations: 212 kB / 1.061 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.566e-05/0.4436, allocations: 12.38 kB / 1.061 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.99e-05/0.4436, allocations: 16.38 kB / 1.061 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003666/0.444, allocations: 146.2 kB / 1.062 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.444, allocations: 192 / 1.062 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.736e-05/0.4441, allocations: 11.94 kB / 1.062 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.4441, allocations: 4 kB / 1.062 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003194/0.4444, allocations: 143.9 kB / 1.062 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008483/0.4453, allocations: 0.4961 MB / 1.062 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002184/0.4455, allocations: 90.48 kB / 1.062 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001431/0.4457, allocations: 48.83 kB / 1.062 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.4457, allocations: 4 kB / 1.062 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.868e-05/0.4457, allocations: 38.56 kB / 1.062 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=10): time 1.543e-06/0.4457, allocations: 0 / 1.062 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10): time 0.0005361/0.4463, allocations: 181.5 kB / 1.062 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.515e-05/0.4463, allocations: 55.34 kB / 1.063 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002084/0.4466, allocations: 195.4 kB / 1.063 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.4466, allocations: 29.7 kB / 1.063 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.319e-05/0.4467, allocations: 119.9 kB / 1.063 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.44e-05/0.4467, allocations: 39.44 kB / 1.063 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.22e-05/0.4468, allocations: 17.72 kB / 1.063 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.4469, allocations: 326.8 kB / 1.063 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001251/0.447, allocations: 43.98 kB / 1.063 GB, free: 0.5195 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001179/0.4471, allocations: 47.97 kB / 1.063 GB, free: 484 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002477/0.4474, allocations: 107.9 kB / 1.063 GB, free: 376 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4474, allocations: 0 / 1.063 GB, free: 376 kB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003191/0.4477, allocations: 161.3 kB / 1.064 GB, free: 208 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.4478, allocations: 8 kB / 1.064 GB, free: 200 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.4478, allocations: 0 / 1.064 GB, free: 200 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.4478, allocations: 0 / 1.064 GB, free: 200 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001614/0.4479, allocations: 27.98 kB / 1.064 GB, free: 172 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.448, allocations: 0 / 1.064 GB, free: 172 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/0.4481, allocations: 19.83 kB / 1.064 GB, free: 152 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.4481, allocations: 8 kB / 1.064 GB, free: 144 kB / 0.8106 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.0001033/0.4482, allocations: 121.8 kB / 1.064 GB, free: 12 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.003e-05/0.4483, allocations: 15.98 kB / 1.064 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003695/0.4486, allocations: 155 kB / 1.064 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.4486, allocations: 0 / 1.064 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.4487, allocations: 4 kB / 1.064 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.4487, allocations: 0 / 1.064 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005973/0.4493, allocations: 464.9 kB / 1.064 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.4493, allocations: 0 / 1.064 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000143/0.4494, allocations: 23.98 kB / 1.064 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.4494, allocations: 0 / 1.064 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.4495, allocations: 8 kB / 1.064 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.063e-06/0.4495, allocations: 12.39 kB / 1.064 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/0.4495, allocations: 4 kB / 1.064 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003667/0.4498, allocations: 253.8 kB / 1.065 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.66e-05/0.4499, allocations: 96.84 kB / 1.065 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.446e-05/0.4499, allocations: 8 kB / 1.065 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/0.4501, allocations: 19.98 kB / 1.065 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.142e-05/0.4502, allocations: 11.92 kB / 1.065 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.4502, allocations: 11.94 kB / 1.065 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001167/0.4503, allocations: 144.1 kB / 1.065 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4503, allocations: 0 / 1.065 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002408/0.4505, allocations: 24 kB / 1.065 GB, free: 14.66 MB / 0.8262 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.0001799/0.4507, allocations: 103.2 kB / 1.065 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003137/0.4511, allocations: 103.9 kB / 1.065 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.4511, allocations: 4 kB / 1.065 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001329/0.4512, allocations: 59.97 kB / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003538/0.4516, allocations: 12 kB / 1.065 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005123/0.4521, allocations: 291.3 kB / 1.066 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002732/0.4524, allocations: 0.7126 MB / 1.066 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.265e-05/0.4524, allocations: 13.08 kB / 1.066 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.559e-05/0.4525, allocations: 15.44 kB / 1.066 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of SimCode: time 3.3e-07/0.4525, allocations: 0 / 1.066 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of Templates: time 0.003884/0.4564, allocations: 1.023 MB / 1.067 GB, free: 12.28 MB / 0.8262 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