Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.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.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.01018/0.01018, allocations: 169.9 kB / 16.26 MB, free: 6.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.503/1.503, allocations: 223.3 MB / 240.3 MB, free: 5.348 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.664/2.664, allocations: 390.9 MB / 0.6663 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004517/0.0004521, allocations: 12 kB / 0.816 GB, free: 13.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8478/0.8483, allocations: 142.4 MB / 0.9551 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Exp): time 0.001007/0.8493, allocations: 393.1 kB / 0.9554 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001035/0.8504, allocations: 0.8065 MB / 0.9562 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.131e-05/0.8505, allocations: 0 / 0.9562 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.776e-05/0.8505, allocations: 0 / 0.9562 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8e-05/0.8506, allocations: 1.125 kB / 0.9562 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001616/0.8507, allocations: 13.17 kB / 0.9562 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.62e-05/0.8508, allocations: 21.92 kB / 0.9563 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.851, allocations: 6.062 kB / 0.9563 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.374e-05/0.851, allocations: 2.844 kB / 0.9563 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.681e-05/0.8511, allocations: 22.88 kB / 0.9563 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.8511, allocations: 1.125 kB / 0.9563 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.119e-05/0.8511, allocations: 1.031 kB / 0.9563 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.796e-05/0.8512, allocations: 0.9688 kB / 0.9563 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.866e-05/0.8512, allocations: 31.55 kB / 0.9563 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.26e-05/0.8513, allocations: 23.64 kB / 0.9563 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.8513, allocations: 5.062 kB / 0.9563 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.974e-06/0.8513, allocations: 0 / 0.9563 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.8513, allocations: 0 / 0.9563 GB, free: 6.641 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004509/0.8518, allocations: 345.6 kB / 0.9567 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/0.8518, allocations: 9.906 kB / 0.9567 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.681e-05/0.8519, allocations: 2.188 kB / 0.9567 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.852, allocations: 161.4 kB / 0.9568 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.834e-05/0.852, allocations: 5.688 kB / 0.9568 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/0.852, allocations: 1.531 kB / 0.9568 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002136/0.8523, allocations: 54.52 kB / 0.9569 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.8523, allocations: 192 / 0.9569 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.8523, allocations: 3.938 kB / 0.9569 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.8523, allocations: 0.9062 kB / 0.9569 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001893/0.8525, allocations: 48.52 kB / 0.957 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003253/0.8528, allocations: 248.8 kB / 0.9572 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001341/0.853, allocations: 48.81 kB / 0.9572 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.539e-05/0.8531, allocations: 31.39 kB / 0.9573 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/0.8531, allocations: 0 / 0.9573 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.8531, allocations: 31.5 kB / 0.9573 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.8531, allocations: 0 / 0.9573 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0004144/0.8536, allocations: 102.9 kB / 0.9574 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.721e-05/0.8536, allocations: 52.91 kB / 0.9574 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.443e-05/0.8537, allocations: 103.4 kB / 0.9575 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.8537, allocations: 25.7 kB / 0.9576 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.729e-05/0.8538, allocations: 88.66 kB / 0.9577 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.198e-05/0.8538, allocations: 9.312 kB / 0.9577 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.666e-05/0.8538, allocations: 9.719 kB / 0.9577 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.661e-05/0.8539, allocations: 312.2 kB / 0.958 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.719e-05/0.854, allocations: 25.8 kB / 0.958 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.851e-05/0.8541, allocations: 26.12 kB / 0.958 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001701/0.8542, allocations: 53.11 kB / 0.9581 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.8542, allocations: 1.406 kB / 0.9581 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002215/0.8545, allocations: 81.81 kB / 0.9581 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.8545, allocations: 4.5 kB / 0.9582 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.8545, allocations: 1.156 kB / 0.9582 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.8545, allocations: 4.031 kB / 0.9582 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.379e-05/0.8546, allocations: 13.09 kB / 0.9582 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.8546, allocations: 3.984 kB / 0.9582 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.222e-05/0.8547, allocations: 6.062 kB / 0.9582 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.8547, allocations: 1.188 kB / 0.9582 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 (2): * Single equations (assignments): 2 * 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.217e-05/0.8548, allocations: 111.7 kB / 0.9583 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.691e-05/0.8548, allocations: 5.844 kB / 0.9583 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002554/0.8551, allocations: 87.14 kB / 0.9584 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.8551, allocations: 0 / 0.9584 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.8551, allocations: 1.75 kB / 0.9584 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.8551, allocations: 0 / 0.9584 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000157/0.8553, allocations: 169.7 kB / 0.9585 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.8553, allocations: 0 / 0.9585 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.45e-05/0.8554, allocations: 12.83 kB / 0.9586 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.8554, allocations: 0 / 0.9586 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.8554, allocations: 1.594 kB / 0.9586 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.8554, allocations: 0 / 0.9586 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.8554, allocations: 0 / 0.9586 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002469/0.8556, allocations: 180.7 kB / 0.9587 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.332e-05/0.8557, allocations: 78.61 kB / 0.9588 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.8557, allocations: 0 / 0.9588 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.737e-05/0.8558, allocations: 11.02 kB / 0.9588 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.175e-05/0.8558, allocations: 9.344 kB / 0.9588 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.165e-06/0.8558, allocations: 0 / 0.9588 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.271e-05/0.8559, allocations: 86.67 kB / 0.9589 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8559, allocations: 0 / 0.9589 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002158/0.8561, allocations: 3.531 kB / 0.9589 GB, free: 4.07 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.000163/0.8563, allocations: 100.5 kB / 0.959 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002533/0.8565, allocations: 50.2 kB / 0.959 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.8566, allocations: 0 / 0.959 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.639e-05/0.8567, allocations: 28.52 kB / 0.9591 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003181/0.857, allocations: 9.75 kB / 0.9591 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003375/0.8573, allocations: 109.3 kB / 0.9592 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001426/0.8575, allocations: 0.6727 MB / 0.9598 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.656e-05/0.8575, allocations: 1.812 kB / 0.9598 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.626e-05/0.8576, allocations: 7.438 kB / 0.9599 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of SimCode: time 1.012e-06/0.8576, allocations: 0 / 0.9599 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of Templates: time 0.002975/0.8605, allocations: 368.7 kB / 0.9602 GB, free: 2.93 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Exp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches