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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001663/0.001663, allocations: 100.1 kB / 15.88 MB, free: 12 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.001996/0.001996, allocations: 200.6 kB / 16.79 MB, free: 6.809 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.5/1.5, allocations: 222.9 MB / 240.5 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.419/2.419, allocations: 390.2 MB / 0.6649 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 71.89 kB / 0.8125 GB, free: 14.82 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6684/0.67, allocations: 140.4 MB / 0.9496 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Line): time 0.002035/0.672, allocations: 0.942 MB / 0.9505 GB, free: 8.473 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009229/0.673, allocations: 0.8927 MB / 0.9514 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.894e-05/0.6731, allocations: 2.719 kB / 0.9514 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.202e-05/0.6731, allocations: 7.875 kB / 0.9514 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.648e-05/0.6732, allocations: 3.938 kB / 0.9514 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001733/0.6734, allocations: 52.91 kB / 0.9515 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001686/0.6736, allocations: 133.4 kB / 0.9516 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001667/0.6738, allocations: 57.05 kB / 0.9516 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.214e-05/0.6738, allocations: 43.34 kB / 0.9517 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.914e-05/0.6739, allocations: 59.56 kB / 0.9517 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.987e-05/0.674, allocations: 8.906 kB / 0.9518 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.3e-05/0.674, allocations: 8.156 kB / 0.9518 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.886e-05/0.674, allocations: 31.91 kB / 0.9518 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.059e-05/0.6741, allocations: 58.81 kB / 0.9518 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.82e-05/0.6742, allocations: 101.7 kB / 0.9519 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.6742, allocations: 1.438 kB / 0.9519 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.052e-06/0.6742, allocations: 0 / 0.9519 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.6742, allocations: 0 / 0.9519 GB, free: 7.34 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.0005747/0.6748, allocations: 446.8 kB / 0.9524 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.582e-05/0.6748, allocations: 9.344 kB / 0.9524 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.212e-05/0.6749, allocations: 15.56 kB / 0.9524 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001735/0.6751, allocations: 215.2 kB / 0.9526 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.6751, allocations: 8.75 kB / 0.9526 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.455e-05/0.6751, allocations: 13.12 kB / 0.9526 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003126/0.6755, allocations: 139.8 kB / 0.9528 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.6755, allocations: 192 / 0.9528 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.935e-05/0.6755, allocations: 10.19 kB / 0.9528 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.6755, allocations: 2.719 kB / 0.9528 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000295/0.6758, allocations: 130.1 kB / 0.9529 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000688/0.6765, allocations: 491.2 kB / 0.9534 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001875/0.6767, allocations: 91.89 kB / 0.9534 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/0.6768, allocations: 47.11 kB / 0.9535 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.6769, allocations: 1.438 kB / 0.9535 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.6769, allocations: 41.25 kB / 0.9535 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.603e-06/0.6769, allocations: 0 / 0.9535 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0004563/0.6774, allocations: 161.2 kB / 0.9537 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.256e-05/0.6774, allocations: 53.03 kB / 0.9537 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.6776, allocations: 191.7 kB / 0.9539 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.257e-05/0.6776, allocations: 30.83 kB / 0.9539 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.033e-05/0.6776, allocations: 114.4 kB / 0.9541 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.026e-05/0.6777, allocations: 32.41 kB / 0.9541 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.882e-05/0.6777, allocations: 28.89 kB / 0.9541 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.013e-05/0.6778, allocations: 331.3 kB / 0.9544 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001251/0.6779, allocations: 46.09 kB / 0.9545 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/0.678, allocations: 38.59 kB / 0.9545 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002272/0.6782, allocations: 94.05 kB / 0.9546 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.6783, allocations: 0 / 0.9546 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002971/0.6786, allocations: 149.9 kB / 0.9547 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.6786, allocations: 7.562 kB / 0.9548 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.6786, allocations: 0 / 0.9548 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.6786, allocations: 1.469 kB / 0.9548 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001667/0.6788, allocations: 31.36 kB / 0.9548 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.6788, allocations: 0 / 0.9548 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001024/0.6789, allocations: 22.95 kB / 0.9548 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.6789, allocations: 2.344 kB / 0.9548 GB, free: 4.895 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.503e-05/0.679, allocations: 130.7 kB / 0.9549 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.802e-05/0.6791, allocations: 15.5 kB / 0.9549 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003294/0.6794, allocations: 147.5 kB / 0.9551 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.6794, allocations: 1.5 kB / 0.9551 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.6794, allocations: 0 / 0.9551 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.6794, allocations: 1.344 kB / 0.9551 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000499/0.6799, allocations: 457.3 kB / 0.9555 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.68, allocations: 1.406 kB / 0.9555 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001054/0.6801, allocations: 20.27 kB / 0.9555 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-06/0.6801, allocations: 1.438 kB / 0.9555 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.6801, allocations: 1.531 kB / 0.9556 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.6801, allocations: 2.688 kB / 0.9556 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.6801, allocations: 0 / 0.9556 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002897/0.6804, allocations: 259 kB / 0.9558 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.136e-05/0.6804, allocations: 86.08 kB / 0.9559 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.227e-05/0.6805, allocations: 5.328 kB / 0.9559 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.6806, allocations: 25.17 kB / 0.9559 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.69e-05/0.6807, allocations: 7.562 kB / 0.9559 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.6807, allocations: 7.703 kB / 0.9559 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.235e-05/0.6808, allocations: 148.7 kB / 0.9561 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6808, allocations: 0 / 0.9561 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002536/0.681, allocations: 22.84 kB / 0.9561 GB, free: 3.758 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.0001389/0.6812, allocations: 114.8 kB / 0.9562 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002796/0.6815, allocations: 96.72 kB / 0.9563 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.6815, allocations: 0 / 0.9563 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000128/0.6816, allocations: 51.09 kB / 0.9563 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003818/0.682, allocations: 12.16 kB / 0.9564 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004733/0.6825, allocations: 320.5 kB / 0.9567 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001335/0.6826, allocations: 0.7057 MB / 0.9573 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.524e-05/0.6827, allocations: 15.66 kB / 0.9574 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of SimCode: time 3.61e-07/0.6827, allocations: 0 / 0.9574 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of Templates: time 0.003034/0.6857, allocations: 1.547 MB / 0.9589 GB, free: 1.793 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/jenkins1/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