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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001059/0.001059, allocations: 92.23 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 183 kB / 16.92 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.447/1.447, allocations: 223.3 MB / 241 MB, free: 5.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.941/2.941, allocations: 462.6 MB / 0.737 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005572/0.0005573, allocations: 14.67 kB / 0.9034 GB, free: 36.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3574/0.358, allocations: 159.6 MB / 1.059 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.001243/0.3593, allocations: 0.5973 MB / 1.06 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001249/0.3605, allocations: 0.8935 MB / 1.061 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000116/0.3607, allocations: 4 kB / 1.061 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.08e-05/0.3607, allocations: 11.86 kB / 1.061 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.859e-05/0.3608, allocations: 0 / 1.061 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000193/0.361, allocations: 51.95 kB / 1.061 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002045/0.3612, allocations: 131.7 kB / 1.061 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002032/0.3614, allocations: 57.45 kB / 1.061 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.083e-05/0.3615, allocations: 35.73 kB / 1.061 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.369e-05/0.3616, allocations: 51.75 kB / 1.061 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.296e-05/0.3617, allocations: 4 kB / 1.061 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.745e-05/0.3617, allocations: 7.938 kB / 1.061 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.906e-05/0.3617, allocations: 27.91 kB / 1.061 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.409e-05/0.3618, allocations: 69.38 kB / 1.061 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001161/0.3619, allocations: 87.77 kB / 1.061 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.842e-06/0.3619, allocations: 8 kB / 1.061 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3619, allocations: 0 / 1.061 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.362, allocations: 0 / 1.061 GB, free: 2.898 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.0006584/0.3626, allocations: 423.4 kB / 1.062 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.3627, allocations: 12.03 kB / 1.062 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.546e-05/0.3627, allocations: 16.75 kB / 1.062 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002334/0.363, allocations: 216 kB / 1.062 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.363, allocations: 12.38 kB / 1.062 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.896e-05/0.363, allocations: 16.38 kB / 1.062 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003692/0.3634, allocations: 150.2 kB / 1.062 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.435e-06/0.3634, allocations: 192 / 1.062 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.644e-05/0.3635, allocations: 11.94 kB / 1.062 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.3635, allocations: 0 / 1.062 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000341/0.3638, allocations: 140.4 kB / 1.062 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008314/0.3647, allocations: 0.4922 MB / 1.063 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000216/0.3649, allocations: 102.4 kB / 1.063 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001383/0.365, allocations: 52.83 kB / 1.063 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.262e-05/0.3651, allocations: 0 / 1.063 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/0.3651, allocations: 30.56 kB / 1.063 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=10): time 1.042e-06/0.3651, allocations: 4 kB / 1.063 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10): time 0.0005143/0.3656, allocations: 177.5 kB / 1.063 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/0.3657, allocations: 59.41 kB / 1.063 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002076/0.3659, allocations: 195.5 kB / 1.063 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.3659, allocations: 25.7 kB / 1.063 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.555e-05/0.366, allocations: 112 kB / 1.063 GB, free: 488 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.367e-05/0.3661, allocations: 35.45 kB / 1.064 GB, free: 452 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.103e-05/0.3661, allocations: 17.72 kB / 1.064 GB, free: 428 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.3662, allocations: 322.8 kB / 1.064 GB, free: 96 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001394/0.3664, allocations: 51.97 kB / 1.064 GB, free: 44 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001432/0.3665, allocations: 48.02 kB / 1.064 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000262/0.3668, allocations: 108.1 kB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3668, allocations: 0 / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003431/0.3672, allocations: 153.3 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.3672, allocations: 8 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3672, allocations: 0 / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.3672, allocations: 0 / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001745/0.3674, allocations: 35.97 kB / 1.064 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.3674, allocations: 0 / 1.064 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001149/0.3675, allocations: 19.84 kB / 1.064 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.3675, allocations: 4 kB / 1.064 GB, free: 15.67 MB / 0.8262 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.000105/0.3677, allocations: 127.3 kB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.91e-05/0.3677, allocations: 15.81 kB / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00038/0.3681, allocations: 155 kB / 1.065 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.74e-06/0.3681, allocations: 4 kB / 1.065 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.3681, allocations: 0 / 1.065 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.402e-05/0.3681, allocations: 0 / 1.065 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006161/0.3688, allocations: 464.9 kB / 1.065 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.3688, allocations: 480 / 1.065 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001285/0.3689, allocations: 32.08 kB / 1.065 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.3689, allocations: 0 / 1.065 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.3689, allocations: 4 kB / 1.065 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.3689, allocations: 3.938 kB / 1.065 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.3689, allocations: 7.875 kB / 1.065 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003657/0.3693, allocations: 257.8 kB / 1.065 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.218e-05/0.3694, allocations: 100.8 kB / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.979e-05/0.3694, allocations: 0 / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001575/0.3696, allocations: 23.98 kB / 1.065 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.931e-05/0.3696, allocations: 15.92 kB / 1.065 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.3696, allocations: 8 kB / 1.065 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001265/0.3698, allocations: 149.1 kB / 1.066 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.81e-07/0.3698, allocations: 0 / 1.066 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002562/0.37, allocations: 20 kB / 1.066 GB, free: 14.18 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.0001431/0.3702, allocations: 103.2 kB / 1.066 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003282/0.3705, allocations: 115.9 kB / 1.066 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3705, allocations: 0 / 1.066 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001442/0.3707, allocations: 56.09 kB / 1.066 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003611/0.3711, allocations: 19.98 kB / 1.066 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005403/0.3716, allocations: 310.3 kB / 1.066 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002724/0.3719, allocations: 0.7086 MB / 1.067 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.875e-05/0.372, allocations: 23.44 kB / 1.067 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of SimCode: time 3.21e-07/0.372, allocations: 0 / 1.067 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of Templates: time 0.003377/0.3754, allocations: 1.526 MB / 1.068 GB, free: 11.27 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/jenkins1/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