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.006292/0.006292, allocations: 102.4 kB / 15.73 MB, free: 6.051 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.001427/0.001426, allocations: 185.5 kB / 16.67 MB, free: 5.98 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.578/1.578, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.963/2.963, allocations: 461.9 MB / 0.7348 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 63.91 kB / 1.054 GB, free: 7.156 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4123/0.4138, allocations: 157.4 MB / 1.208 GB, free: 9.652 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.002748/0.4166, allocations: 0.8941 MB / 1.209 GB, free: 8.758 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001391/0.418, allocations: 0.8857 MB / 1.21 GB, free: 7.859 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001531/0.4182, allocations: 4 kB / 1.21 GB, free: 7.855 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 6.537e-05/0.4183, allocations: 15.8 kB / 1.21 GB, free: 7.84 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001463/0.4185, allocations: 7.875 kB / 1.21 GB, free: 7.832 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000288/0.4188, allocations: 63.91 kB / 1.21 GB, free: 7.77 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002731/0.4191, allocations: 139.7 kB / 1.21 GB, free: 7.633 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002143/0.4193, allocations: 57.42 kB / 1.21 GB, free: 7.574 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001285/0.4194, allocations: 55.77 kB / 1.21 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.904e-05/0.4195, allocations: 67.69 kB / 1.21 GB, free: 7.453 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.328e-05/0.4196, allocations: 12 kB / 1.21 GB, free: 7.441 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.528e-05/0.4196, allocations: 16 kB / 1.21 GB, free: 7.426 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.772e-05/0.4197, allocations: 35.84 kB / 1.21 GB, free: 7.391 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.841e-05/0.4198, allocations: 55.67 kB / 1.21 GB, free: 7.336 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000222/0.42, allocations: 147.4 kB / 1.21 GB, free: 7.191 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.42, allocations: 0 / 1.21 GB, free: 7.191 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.174e-06/0.42, allocations: 0 / 1.21 GB, free: 7.191 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.437e-05/0.42, allocations: 0 / 1.21 GB, free: 7.191 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.0007924/0.4208, allocations: 444.3 kB / 1.211 GB, free: 6.707 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/0.4209, allocations: 12.62 kB / 1.211 GB, free: 6.695 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.99e-05/0.421, allocations: 16.75 kB / 1.211 GB, free: 6.68 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003323/0.4213, allocations: 217.6 kB / 1.211 GB, free: 6.43 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.4213, allocations: 8.375 kB / 1.211 GB, free: 6.422 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.422e-05/0.4214, allocations: 12.38 kB / 1.211 GB, free: 6.41 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003718/0.4217, allocations: 142.2 kB / 1.211 GB, free: 6.266 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.4218, allocations: 192 / 1.211 GB, free: 6.266 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.648e-05/0.4218, allocations: 15.94 kB / 1.211 GB, free: 6.25 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.4218, allocations: 4 kB / 1.211 GB, free: 6.246 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003201/0.4221, allocations: 136.4 kB / 1.211 GB, free: 6.113 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008829/0.423, allocations: 492 kB / 1.212 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002042/0.4232, allocations: 82.48 kB / 1.212 GB, free: 5.492 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001252/0.4234, allocations: 48.83 kB / 1.212 GB, free: 5.441 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/0.4234, allocations: 3.984 kB / 1.212 GB, free: 5.438 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.655e-05/0.4234, allocations: 38.69 kB / 1.212 GB, free: 5.391 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/0.4234, allocations: 4 kB / 1.212 GB, free: 5.387 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10): time 0.0004955/0.4239, allocations: 157.4 kB / 1.212 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.688e-05/0.424, allocations: 51.41 kB / 1.212 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002107/0.4242, allocations: 195.5 kB / 1.212 GB, free: 4.953 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.4243, allocations: 29.69 kB / 1.212 GB, free: 4.918 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.436e-05/0.4244, allocations: 119.9 kB / 1.212 GB, free: 4.797 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.058e-05/0.4244, allocations: 31.56 kB / 1.212 GB, free: 4.766 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.021e-05/0.4245, allocations: 29.7 kB / 1.212 GB, free: 4.73 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001809/0.4247, allocations: 323.2 kB / 1.213 GB, free: 4.406 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.4248, allocations: 39.97 kB / 1.213 GB, free: 4.367 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001273/0.425, allocations: 43.97 kB / 1.213 GB, free: 4.324 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002516/0.4252, allocations: 95.89 kB / 1.213 GB, free: 4.23 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.4252, allocations: 7.938 kB / 1.213 GB, free: 4.223 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003942/0.4256, allocations: 153.3 kB / 1.213 GB, free: 4.066 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/0.4257, allocations: 4 kB / 1.213 GB, free: 4.062 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/0.4257, allocations: 0 / 1.213 GB, free: 4.062 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.669e-05/0.4257, allocations: 4 kB / 1.213 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001827/0.4259, allocations: 23.98 kB / 1.213 GB, free: 4.035 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.4259, allocations: 0 / 1.213 GB, free: 4.035 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000126/0.4261, allocations: 19.83 kB / 1.213 GB, free: 4.016 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.482e-05/0.4261, allocations: 8 kB / 1.213 GB, free: 4.008 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.0001667/0.4262, allocations: 129.7 kB / 1.213 GB, free: 3.871 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.064e-05/0.4263, allocations: 15.81 kB / 1.213 GB, free: 3.855 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004146/0.4267, allocations: 135 kB / 1.213 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.4268, allocations: 7.938 kB / 1.213 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.441e-05/0.4268, allocations: 4 kB / 1.213 GB, free: 3.699 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.4268, allocations: 0 / 1.213 GB, free: 3.699 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006895/0.4275, allocations: 456.8 kB / 1.214 GB, free: 3.188 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.4275, allocations: 0 / 1.214 GB, free: 3.188 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.4276, allocations: 23.98 kB / 1.214 GB, free: 3.164 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.4276, allocations: 3.938 kB / 1.214 GB, free: 3.16 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.4276, allocations: 96 / 1.214 GB, free: 3.16 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.4277, allocations: 8.078 kB / 1.214 GB, free: 3.152 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.4277, allocations: 3.984 kB / 1.214 GB, free: 3.148 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000389/0.4281, allocations: 237.9 kB / 1.214 GB, free: 2.891 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.429e-05/0.4282, allocations: 100.9 kB / 1.214 GB, free: 2.773 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.03e-05/0.4282, allocations: 7.984 kB / 1.214 GB, free: 2.766 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001514/0.4284, allocations: 15.98 kB / 1.214 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.146e-05/0.4284, allocations: 7.938 kB / 1.214 GB, free: 2.742 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.4285, allocations: 7.984 kB / 1.214 GB, free: 2.734 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001421/0.4286, allocations: 140.1 kB / 1.214 GB, free: 2.598 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4286, allocations: 0 / 1.214 GB, free: 2.598 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002791/0.4289, allocations: 20.19 kB / 1.214 GB, free: 2.578 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.0002671/0.4292, allocations: 119.2 kB / 1.214 GB, free: 2.453 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003587/0.4296, allocations: 95.83 kB / 1.215 GB, free: 2.359 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.4296, allocations: 4 kB / 1.215 GB, free: 2.355 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001372/0.4297, allocations: 47.91 kB / 1.215 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003157/0.43, allocations: 20.12 kB / 1.215 GB, free: 2.289 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006628/0.4307, allocations: 253.4 kB / 1.215 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.431, allocations: 0.7084 MB / 1.216 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 6.033e-05/0.4311, allocations: 13.08 kB / 1.216 GB, free: 1.262 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.642e-05/0.4312, allocations: 15.44 kB / 1.216 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of SimCode: time 5.71e-07/0.4312, allocations: 0 / 1.216 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of Templates: time 0.004325/0.4355, allocations: 1.183 MB / 1.217 GB, free: 68 kB / 0.9669 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