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.001253/0.001252, allocations: 103 kB / 16.37 MB, free: 6.438 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.001519/0.00152, allocations: 189.1 kB / 17.3 MB, free: 5.781 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.415/1.415, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.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.292/2.292, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 67.38 kB / 0.814 GB, free: 32.68 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3365/0.3379, allocations: 140.4 MB / 0.9511 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Line): time 0.002349/0.3403, allocations: 0.8961 MB / 0.952 GB, free: 7.145 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001324/0.3417, allocations: 0.8896 MB / 0.9529 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.3418, allocations: 4 kB / 0.9529 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 6.225e-05/0.3419, allocations: 15.8 kB / 0.9529 GB, free: 6.223 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000104/0.342, allocations: 11.88 kB / 0.9529 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002586/0.3423, allocations: 63.91 kB / 0.953 GB, free: 6.148 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002199/0.3425, allocations: 135.7 kB / 0.9531 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002286/0.3427, allocations: 61.45 kB / 0.9532 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.295e-05/0.3428, allocations: 51.78 kB / 0.9532 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.153e-05/0.3429, allocations: 59.7 kB / 0.9533 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.946e-05/0.3429, allocations: 12 kB / 0.9533 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.217e-05/0.343, allocations: 12 kB / 0.9533 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.935e-05/0.343, allocations: 31.91 kB / 0.9533 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 8.26e-05/0.3431, allocations: 67.64 kB / 0.9534 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001872/0.3433, allocations: 143.4 kB / 0.9535 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 1.379e-05/0.3433, allocations: 4 kB / 0.9535 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.498e-06/0.3433, allocations: 0 / 0.9535 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.11e-05/0.3434, allocations: 0 / 0.9535 GB, free: 5.578 MB / 0.7325 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.0007581/0.3441, allocations: 439 kB / 0.9539 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.3442, allocations: 8.031 kB / 0.954 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.723e-05/0.3442, allocations: 24.73 kB / 0.954 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000308/0.3445, allocations: 215.9 kB / 0.9542 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.3446, allocations: 12.36 kB / 0.9542 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.075e-05/0.3446, allocations: 12.38 kB / 0.9542 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003435/0.3449, allocations: 150.7 kB / 0.9544 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.345, allocations: 192 / 0.9544 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.271e-05/0.345, allocations: 7.938 kB / 0.9544 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.345, allocations: 8 kB / 0.9544 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002858/0.3453, allocations: 127.9 kB / 0.9545 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007382/0.346, allocations: 496 kB / 0.955 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001985/0.3463, allocations: 94.47 kB / 0.9551 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001114/0.3464, allocations: 40.78 kB / 0.9551 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.03e-05/0.3464, allocations: 7.984 kB / 0.9551 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.3464, allocations: 34.56 kB / 0.9551 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.423e-06/0.3465, allocations: 0 / 0.9551 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0004769/0.3469, allocations: 161.6 kB / 0.9553 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.808e-05/0.347, allocations: 55.34 kB / 0.9553 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001838/0.3472, allocations: 191.5 kB / 0.9555 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.3472, allocations: 29.7 kB / 0.9555 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.024e-05/0.3473, allocations: 115.9 kB / 0.9557 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.647e-05/0.3473, allocations: 31.55 kB / 0.9557 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.965e-05/0.3474, allocations: 25.72 kB / 0.9557 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.3475, allocations: 322.8 kB / 0.956 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001225/0.3477, allocations: 51.97 kB / 0.9561 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/0.3478, allocations: 39.97 kB / 0.9561 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000213/0.348, allocations: 92.81 kB / 0.9562 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.348, allocations: 0 / 0.9562 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002879/0.3483, allocations: 153.3 kB / 0.9563 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.3483, allocations: 14.03 kB / 0.9564 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.3483, allocations: 0 / 0.9564 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.3484, allocations: 0 / 0.9564 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001567/0.3485, allocations: 27.97 kB / 0.9564 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.3485, allocations: 0 / 0.9564 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.146e-05/0.3486, allocations: 15.84 kB / 0.9564 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/0.3487, allocations: 4 kB / 0.9564 GB, free: 2.402 MB / 0.7325 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.0001051/0.3488, allocations: 125.8 kB / 0.9565 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.77e-05/0.3488, allocations: 15.81 kB / 0.9565 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003317/0.3492, allocations: 143.3 kB / 0.9567 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.3492, allocations: 0 / 0.9567 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.3492, allocations: 0 / 0.9567 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.3492, allocations: 0 / 0.9567 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005506/0.3497, allocations: 460.9 kB / 0.9571 GB, free: 1.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.3498, allocations: 3.938 kB / 0.9571 GB, free: 1.586 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.3499, allocations: 19.98 kB / 0.9571 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.3499, allocations: 0 / 0.9571 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.3499, allocations: 8 kB / 0.9571 GB, free: 1.559 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.3499, allocations: 3.938 kB / 0.9571 GB, free: 1.555 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.3499, allocations: 4 kB / 0.9572 GB, free: 1.551 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002997/0.3502, allocations: 245.9 kB / 0.9574 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.032e-05/0.3503, allocations: 92.94 kB / 0.9575 GB, free: 1.176 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.343e-05/0.3503, allocations: 4 kB / 0.9575 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.3504, allocations: 15.98 kB / 0.9575 GB, free: 1.156 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.89e-05/0.3505, allocations: 19.92 kB / 0.9575 GB, free: 1.137 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.714e-06/0.3505, allocations: 0 / 0.9575 GB, free: 1.137 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001016/0.3506, allocations: 149.1 kB / 0.9577 GB, free: 0.9922 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.21e-07/0.3506, allocations: 0 / 0.9577 GB, free: 0.9922 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002522/0.3509, allocations: 27.91 kB / 0.9577 GB, free: 0.9648 MB / 0.7325 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.0001614/0.351, allocations: 99.25 kB / 0.9578 GB, free: 0.8594 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002994/0.3513, allocations: 107.9 kB / 0.9579 GB, free: 0.7539 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3514, allocations: 3.938 kB / 0.9579 GB, free: 0.75 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001158/0.3515, allocations: 43.92 kB / 0.9579 GB, free: 0.707 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000299/0.3518, allocations: 19.98 kB / 0.9579 GB, free: 0.6875 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004852/0.3523, allocations: 252 kB / 0.9582 GB, free: 420 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002731/0.3526, allocations: 0.7122 MB / 0.9589 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.895e-05/0.3526, allocations: 13.08 kB / 0.9589 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.564e-05/0.3527, allocations: 19.44 kB / 0.9589 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of SimCode: time 2.41e-07/0.3527, allocations: 4 kB / 0.9589 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of Templates: time 0.003696/0.3564, allocations: 1.156 MB / 0.96 GB, free: 14.48 MB / 0.7481 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 -s gbode -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