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.001003/0.001003, allocations: 92.16 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.001246/0.001246, allocations: 172.9 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.46/1.46, allocations: 223.3 MB / 241 MB, free: 5.336 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.54/2.54, allocations: 390.9 MB / 0.667 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003886/0.0003886, allocations: 15.98 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7589/0.7593, allocations: 142.4 MB / 0.9557 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Line): time 0.001046/0.7604, allocations: 0.6032 MB / 0.9563 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000987/0.7614, allocations: 0.884 MB / 0.9572 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.643e-05/0.7615, allocations: 6.781 kB / 0.9572 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.58e-05/0.7615, allocations: 3.938 kB / 0.9572 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.803e-05/0.7616, allocations: 3.938 kB / 0.9572 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001714/0.7618, allocations: 57.28 kB / 0.9573 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001872/0.762, allocations: 136.3 kB / 0.9574 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001761/0.7622, allocations: 53.44 kB / 0.9574 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.25e-05/0.7622, allocations: 32.69 kB / 0.9575 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.829e-05/0.7623, allocations: 50.02 kB / 0.9575 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.424e-05/0.7623, allocations: 8.641 kB / 0.9575 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.594e-05/0.7624, allocations: 5.438 kB / 0.9575 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.765e-05/0.7624, allocations: 16.23 kB / 0.9575 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.567e-05/0.7624, allocations: 74.38 kB / 0.9576 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001016/0.7626, allocations: 102 kB / 0.9577 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.7626, allocations: 0 / 0.9577 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7626, allocations: 1.031 kB / 0.9577 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.7626, allocations: 4 kB / 0.9577 GB, free: 6.434 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.0005312/0.7631, allocations: 422.1 kB / 0.9581 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.7632, allocations: 9.719 kB / 0.9581 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.318e-05/0.7632, allocations: 16.31 kB / 0.9581 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001712/0.7634, allocations: 213.2 kB / 0.9583 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.7634, allocations: 8.812 kB / 0.9584 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.161e-05/0.7635, allocations: 13.66 kB / 0.9584 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003273/0.7638, allocations: 152.7 kB / 0.9585 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.7638, allocations: 192 / 0.9585 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.131e-05/0.7638, allocations: 9.281 kB / 0.9585 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.7638, allocations: 4 kB / 0.9585 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003015/0.7642, allocations: 139.5 kB / 0.9587 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006752/0.7648, allocations: 0.4996 MB / 0.9591 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001845/0.765, allocations: 89.14 kB / 0.9592 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001401/0.7652, allocations: 59.48 kB / 0.9593 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.7652, allocations: 6.25 kB / 0.9593 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.7652, allocations: 31.72 kB / 0.9593 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.473e-06/0.7652, allocations: 0 / 0.9593 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.000494/0.7657, allocations: 172.8 kB / 0.9595 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/0.7658, allocations: 52.41 kB / 0.9595 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.766, allocations: 195.5 kB / 0.9597 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.766, allocations: 26.7 kB / 0.9598 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.853e-05/0.766, allocations: 110.5 kB / 0.9599 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.401e-05/0.7661, allocations: 35.89 kB / 0.9599 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.803e-05/0.7661, allocations: 24.92 kB / 0.9599 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.094e-05/0.7662, allocations: 322.2 kB / 0.9602 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001307/0.7663, allocations: 42.05 kB / 0.9603 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001239/0.7664, allocations: 52.03 kB / 0.9603 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002417/0.7667, allocations: 108.9 kB / 0.9604 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.7667, allocations: 3.938 kB / 0.9604 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003173/0.767, allocations: 160.2 kB / 0.9606 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.767, allocations: 5.5 kB / 0.9606 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.767, allocations: 0 / 0.9606 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.7671, allocations: 1.375 kB / 0.9606 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001549/0.7672, allocations: 25.98 kB / 0.9606 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.493e-06/0.7672, allocations: 0 / 0.9606 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001081/0.7674, allocations: 37.3 kB / 0.9606 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.7674, allocations: 6.688 kB / 0.9606 GB, free: 3.988 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.039e-05/0.7674, allocations: 127.3 kB / 0.9608 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.581e-05/0.7675, allocations: 10.78 kB / 0.9608 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003344/0.7678, allocations: 148.8 kB / 0.9609 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.7678, allocations: 1.375 kB / 0.9609 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.7678, allocations: 480 / 0.9609 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.7679, allocations: 5.359 kB / 0.9609 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005409/0.7684, allocations: 459.6 kB / 0.9614 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.7684, allocations: 1.375 kB / 0.9614 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/0.7685, allocations: 31.17 kB / 0.9614 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.992e-06/0.7685, allocations: 9.297 kB / 0.9614 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.7686, allocations: 9.359 kB / 0.9614 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.7686, allocations: 1.375 kB / 0.9614 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.7686, allocations: 1.375 kB / 0.9614 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003483/0.7689, allocations: 260 kB / 0.9617 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.262e-05/0.769, allocations: 93.05 kB / 0.9618 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.224e-05/0.769, allocations: 2.125 kB / 0.9618 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000172/0.7692, allocations: 18.05 kB / 0.9618 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.04e-05/0.7693, allocations: 16.33 kB / 0.9618 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/0.7693, allocations: 4.5 kB / 0.9618 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001262/0.7694, allocations: 150.9 kB / 0.9619 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7694, allocations: 5.156 kB / 0.9619 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002816/0.7697, allocations: 23.09 kB / 0.962 GB, free: 2.852 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.0001747/0.7699, allocations: 106.3 kB / 0.9621 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003355/0.7702, allocations: 113.1 kB / 0.9622 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.7702, allocations: 1.219 kB / 0.9622 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001475/0.7704, allocations: 52.09 kB / 0.9622 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000363/0.7708, allocations: 16.5 kB / 0.9622 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004762/0.7712, allocations: 315.3 kB / 0.9625 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001438/0.7714, allocations: 0.7092 MB / 0.9632 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.248e-05/0.7715, allocations: 20.78 kB / 0.9633 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of SimCode: time 3.31e-07/0.7715, allocations: 3.938 kB / 0.9633 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of Templates: time 0.002999/0.7745, allocations: 1.528 MB / 0.9647 GB, free: 0.8984 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