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.001621/0.001621, allocations: 116.9 kB / 16.37 MB, free: 6.012 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.001132/0.001132, allocations: 194.4 kB / 17.31 MB, free: 5.613 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.464/1.464, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.594/2.594, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 62.62 kB / 0.8774 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3484/0.3497, allocations: 153 MB / 1.027 GB, free: 2.066 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.002453/0.3522, allocations: 0.9084 MB / 1.028 GB, free: 1.16 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00116/0.3534, allocations: 0.8897 MB / 1.028 GB, free: 264 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.272e-05/0.3535, allocations: 4 kB / 1.029 GB, free: 260 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.568e-05/0.3535, allocations: 11.81 kB / 1.029 GB, free: 248 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.543e-05/0.3536, allocations: 11.86 kB / 1.029 GB, free: 236 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002236/0.3539, allocations: 55.92 kB / 1.029 GB, free: 180 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002427/0.3541, allocations: 147.7 kB / 1.029 GB, free: 32 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002387/0.3543, allocations: 57.47 kB / 1.029 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.869e-05/0.3544, allocations: 51.78 kB / 1.029 GB, free: 15.92 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.939e-05/0.3545, allocations: 63.67 kB / 1.029 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.987e-05/0.3546, allocations: 12 kB / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.221e-05/0.3546, allocations: 20 kB / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.652e-05/0.3546, allocations: 31.91 kB / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.14e-05/0.3547, allocations: 55.67 kB / 1.029 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001661/0.3549, allocations: 143.4 kB / 1.029 GB, free: 15.6 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3549, allocations: 0 / 1.029 GB, free: 15.6 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.244e-06/0.3549, allocations: 0 / 1.029 GB, free: 15.6 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.3549, allocations: 0 / 1.029 GB, free: 15.6 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.0006423/0.3555, allocations: 443.1 kB / 1.03 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.3556, allocations: 12.03 kB / 1.03 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.456e-05/0.3556, allocations: 16.75 kB / 1.03 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002681/0.3559, allocations: 208.1 kB / 1.03 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.3559, allocations: 8.375 kB / 1.03 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.643e-05/0.356, allocations: 16.36 kB / 1.03 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003213/0.3563, allocations: 143 kB / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.3563, allocations: 4.188 kB / 1.03 GB, free: 14.67 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.61e-05/0.3563, allocations: 11.94 kB / 1.03 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-06/0.3564, allocations: 4 kB / 1.03 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003132/0.3567, allocations: 132.4 kB / 1.03 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009184/0.3576, allocations: 492 kB / 1.031 GB, free: 14 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002111/0.3578, allocations: 90.42 kB / 1.031 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001316/0.358, allocations: 52.77 kB / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.071e-05/0.358, allocations: 3.938 kB / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/0.3581, allocations: 34.56 kB / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.3581, allocations: 0 / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10): time 0.0004729/0.3585, allocations: 161.7 kB / 1.031 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.878e-05/0.3586, allocations: 51.41 kB / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002198/0.3588, allocations: 192 kB / 1.031 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.3588, allocations: 25.7 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.747e-05/0.3589, allocations: 119.9 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.399e-05/0.359, allocations: 39.44 kB / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.335e-05/0.3591, allocations: 29.7 kB / 1.031 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.3592, allocations: 334.8 kB / 1.032 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.3593, allocations: 35.97 kB / 1.032 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/0.3595, allocations: 47.97 kB / 1.032 GB, free: 12.72 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002231/0.3597, allocations: 91.83 kB / 1.032 GB, free: 12.63 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3597, allocations: 0 / 1.032 GB, free: 12.63 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002918/0.36, allocations: 145.5 kB / 1.032 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.36, allocations: 4 kB / 1.032 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.36, allocations: 0 / 1.032 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/0.3601, allocations: 4 kB / 1.032 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000173/0.3602, allocations: 27.92 kB / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.3603, allocations: 4 kB / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.589e-05/0.3604, allocations: 19.73 kB / 1.032 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.3604, allocations: 4 kB / 1.032 GB, free: 12.42 MB / 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.0001056/0.3605, allocations: 129.7 kB / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.409e-05/0.3605, allocations: 11.91 kB / 1.032 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003366/0.3609, allocations: 139.3 kB / 1.032 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.3609, allocations: 4 kB / 1.032 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.3609, allocations: 0 / 1.032 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.3609, allocations: 4 kB / 1.032 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006429/0.3616, allocations: 460.9 kB / 1.033 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.3616, allocations: 3.938 kB / 1.033 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.3617, allocations: 23.98 kB / 1.033 GB, free: 11.58 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.3617, allocations: 0 / 1.033 GB, free: 11.58 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.3617, allocations: 0 / 1.033 GB, free: 11.58 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/0.3617, allocations: 4 kB / 1.033 GB, free: 11.58 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/0.3617, allocations: 96 / 1.033 GB, free: 11.58 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003394/0.3621, allocations: 253.6 kB / 1.033 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.388e-05/0.3621, allocations: 96.86 kB / 1.033 GB, free: 11.19 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.044e-05/0.3622, allocations: 4 kB / 1.033 GB, free: 11.19 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.3623, allocations: 23.97 kB / 1.033 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.883e-05/0.3624, allocations: 7.938 kB / 1.033 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.857e-06/0.3624, allocations: 4 kB / 1.033 GB, free: 11.15 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001214/0.3625, allocations: 149.2 kB / 1.033 GB, free: 11.01 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3625, allocations: 0 / 1.033 GB, free: 11.01 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002342/0.3627, allocations: 16 kB / 1.033 GB, free: 10.99 MB / 0.8106 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.00016/0.3629, allocations: 111.2 kB / 1.033 GB, free: 10.87 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000309/0.3632, allocations: 99.88 kB / 1.033 GB, free: 10.77 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3632, allocations: 0 / 1.033 GB, free: 10.77 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001179/0.3634, allocations: 55.91 kB / 1.034 GB, free: 10.72 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000308/0.3637, allocations: 11.94 kB / 1.034 GB, free: 10.71 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005017/0.3642, allocations: 253.7 kB / 1.034 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002753/0.3645, allocations: 0.7045 MB / 1.034 GB, free: 9.695 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.646e-05/0.3645, allocations: 17.08 kB / 1.034 GB, free: 9.68 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.829e-05/0.3646, allocations: 15.44 kB / 1.035 GB, free: 9.664 MB / 0.8106 GB Notification: Performance of SimCode: time 1.91e-07/0.3646, allocations: 0 / 1.035 GB, free: 9.664 MB / 0.8106 GB Notification: Performance of Templates: time 0.003588/0.3682, allocations: 1.158 MB / 1.036 GB, free: 8.516 MB / 0.8106 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 -s cvode -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