Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Controls.OBC.CDL.Continuous.Validation.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|line1.u|line1.y|line2.y|line3.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|line1.u|line1.y|line2.y|line3.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001548/0.001548, allocations: 108 kB / 15.61 MB, free: 152 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.001871/0.001871, allocations: 196.1 kB / 16.53 MB, free: 6.664 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.535/1.535, allocations: 222.9 MB / 240.2 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.582/2.582, allocations: 390.2 MB / 0.6647 GB, free: 244 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 63.89 kB / 0.8125 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9778/0.9791, allocations: 140.4 MB / 0.9496 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Line): time 0.00243/0.9815, allocations: 0.8938 MB / 0.9505 GB, free: 8.477 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001021/0.9826, allocations: 0.8878 MB / 0.9513 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.099e-05/0.9827, allocations: 2.625 kB / 0.9513 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.014e-05/0.9827, allocations: 19.8 kB / 0.9514 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.232e-05/0.9828, allocations: 9.469 kB / 0.9514 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001734/0.983, allocations: 59.02 kB / 0.9514 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001923/0.9832, allocations: 143.2 kB / 0.9516 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001992/0.9834, allocations: 59.39 kB / 0.9516 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.43e-05/0.9835, allocations: 44.05 kB / 0.9517 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.506e-05/0.9836, allocations: 67.64 kB / 0.9517 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.507e-05/0.9836, allocations: 12.97 kB / 0.9517 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.727e-05/0.9837, allocations: 12.81 kB / 0.9518 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.161e-05/0.9837, allocations: 32.94 kB / 0.9518 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.882e-05/0.9838, allocations: 62.81 kB / 0.9518 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001552/0.9839, allocations: 138.2 kB / 0.952 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.9839, allocations: 0 / 0.952 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.064e-06/0.9839, allocations: 3.938 kB / 0.952 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.099e-05/0.9839, allocations: 1.406 kB / 0.952 GB, free: 7.27 MB / 0.7169 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.0006325/0.9846, allocations: 442.1 kB / 0.9524 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/0.9846, allocations: 9.156 kB / 0.9524 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.615e-05/0.9847, allocations: 15.78 kB / 0.9524 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001906/0.9849, allocations: 213.4 kB / 0.9526 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.9849, allocations: 9.719 kB / 0.9526 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.811e-05/0.985, allocations: 13.53 kB / 0.9527 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003312/0.9853, allocations: 151.1 kB / 0.9528 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.9853, allocations: 1.594 kB / 0.9528 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.042e-05/0.9854, allocations: 9.156 kB / 0.9528 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.9854, allocations: 3.281 kB / 0.9528 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003238/0.9857, allocations: 132.5 kB / 0.9529 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007422/0.9865, allocations: 496.4 kB / 0.9534 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000198/0.9867, allocations: 87.98 kB / 0.9535 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001229/0.9868, allocations: 46.36 kB / 0.9535 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/0.9868, allocations: 5.688 kB / 0.9535 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.9869, allocations: 33.09 kB / 0.9536 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.382e-06/0.9869, allocations: 0 / 0.9536 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.000535/0.9874, allocations: 157.6 kB / 0.9537 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.095e-05/0.9875, allocations: 56.5 kB / 0.9538 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002407/0.9877, allocations: 188.1 kB / 0.954 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.9878, allocations: 30.89 kB / 0.954 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.67e-05/0.9879, allocations: 114.5 kB / 0.9541 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.373e-05/0.9879, allocations: 35.84 kB / 0.9541 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.122e-05/0.988, allocations: 29.02 kB / 0.9542 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.323e-05/0.9881, allocations: 322.1 kB / 0.9545 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001339/0.9882, allocations: 46.25 kB / 0.9545 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/0.9883, allocations: 39.55 kB / 0.9545 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002416/0.9886, allocations: 98.16 kB / 0.9546 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.9886, allocations: 1.219 kB / 0.9546 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003073/0.9889, allocations: 145.9 kB / 0.9548 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.9889, allocations: 5.656 kB / 0.9548 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.9889, allocations: 7.938 kB / 0.9548 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.989, allocations: 0 / 0.9548 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001653/0.9891, allocations: 28.02 kB / 0.9548 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.9891, allocations: 0.9062 kB / 0.9548 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.975e-05/0.9893, allocations: 22.67 kB / 0.9548 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.9893, allocations: 7.25 kB / 0.9548 GB, free: 4.816 MB / 0.7169 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 7.682e-05/0.9894, allocations: 118.8 kB / 0.955 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.121e-05/0.9894, allocations: 14.56 kB / 0.955 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003324/0.9897, allocations: 148.3 kB / 0.9551 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.9897, allocations: 0 / 0.9551 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.9898, allocations: 4.922 kB / 0.9551 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.9898, allocations: 3.984 kB / 0.9551 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005008/0.9903, allocations: 453.9 kB / 0.9556 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.9903, allocations: 5.359 kB / 0.9556 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/0.9904, allocations: 21.05 kB / 0.9556 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.9904, allocations: 1.844 kB / 0.9556 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.9904, allocations: 7.562 kB / 0.9556 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.9904, allocations: 4 kB / 0.9556 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.9904, allocations: 3.75 kB / 0.9556 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002849/0.9907, allocations: 243 kB / 0.9558 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.617e-05/0.9908, allocations: 86.23 kB / 0.9559 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.377e-05/0.9908, allocations: 5.094 kB / 0.9559 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000138/0.9909, allocations: 17.19 kB / 0.9559 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.022e-05/0.991, allocations: 20.12 kB / 0.956 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.991, allocations: 3.219 kB / 0.956 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.901e-05/0.9911, allocations: 148.2 kB / 0.9561 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9911, allocations: 1.125 kB / 0.9561 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002449/0.9914, allocations: 26.28 kB / 0.9561 GB, free: 3.684 MB / 0.7169 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.0001541/0.9915, allocations: 99.47 kB / 0.9562 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000315/0.9919, allocations: 109.9 kB / 0.9563 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.9919, allocations: 1.125 kB / 0.9563 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001292/0.992, allocations: 47.53 kB / 0.9564 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003787/0.9924, allocations: 16.47 kB / 0.9564 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004833/0.9929, allocations: 253.8 kB / 0.9566 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001524/0.9931, allocations: 0.7125 MB / 0.9573 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.333e-05/0.9931, allocations: 17.3 kB / 0.9573 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.577e-05/0.9932, allocations: 20.12 kB / 0.9574 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.9932, allocations: 0 / 0.9574 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of Templates: time 0.003665/0.9968, allocations: 1.157 MB / 0.9585 GB, free: 2.004 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Line.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches