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.001209/0.001209, allocations: 108 kB / 15.6 MB, free: 132 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.001561/0.001561, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.514/1.514, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.587/2.587, allocations: 390.2 MB / 0.6647 GB, free: 288 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 63.91 kB / 0.8125 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8427/0.8442, allocations: 140.4 MB / 0.9496 GB, free: 9.23 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Exp): time 0.002405/0.8467, allocations: 0.657 MB / 0.9502 GB, free: 8.727 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001196/0.8479, allocations: 0.8033 MB / 0.951 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.184e-05/0.848, allocations: 0 / 0.951 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.225e-05/0.848, allocations: 3.938 kB / 0.951 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.4e-05/0.8481, allocations: 5.172 kB / 0.951 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000199/0.8483, allocations: 13.45 kB / 0.951 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.939e-05/0.8484, allocations: 22.2 kB / 0.9511 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.8485, allocations: 7.531 kB / 0.9511 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.721e-05/0.8486, allocations: 6.891 kB / 0.9511 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.079e-05/0.8487, allocations: 11.06 kB / 0.9511 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.418e-05/0.8487, allocations: 5.219 kB / 0.9511 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.457e-05/0.8487, allocations: 2.562 kB / 0.9511 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.778e-05/0.8487, allocations: 11.92 kB / 0.9511 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.858e-05/0.8488, allocations: 6.844 kB / 0.9511 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.933e-05/0.8489, allocations: 24.3 kB / 0.9511 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.8489, allocations: 0 / 0.9511 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8489, allocations: 0 / 0.9511 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.97e-06/0.8489, allocations: 0 / 0.9511 GB, free: 7.984 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.0004225/0.8493, allocations: 343.3 kB / 0.9515 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.8494, allocations: 9.188 kB / 0.9515 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.584e-05/0.8494, allocations: 2.469 kB / 0.9515 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.8495, allocations: 177.7 kB / 0.9516 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.8495, allocations: 384 / 0.9516 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.766e-06/0.8495, allocations: 1.719 kB / 0.9516 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001758/0.8497, allocations: 46.09 kB / 0.9517 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.8497, allocations: 4.172 kB / 0.9517 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.8497, allocations: 7.922 kB / 0.9517 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.8498, allocations: 1.312 kB / 0.9517 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001649/0.8499, allocations: 42.06 kB / 0.9517 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003227/0.8503, allocations: 241.6 kB / 0.952 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.8504, allocations: 42.78 kB / 0.952 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.621e-05/0.8505, allocations: 22.72 kB / 0.952 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.8505, allocations: 1.062 kB / 0.952 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.718e-05/0.8505, allocations: 34.56 kB / 0.9521 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.8505, allocations: 1.188 kB / 0.9521 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003594/0.8509, allocations: 80.02 kB / 0.9521 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.802e-05/0.8509, allocations: 56.53 kB / 0.9522 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.461e-05/0.851, allocations: 103.5 kB / 0.9523 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.596e-06/0.851, allocations: 25.7 kB / 0.9523 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.846e-05/0.8511, allocations: 80.14 kB / 0.9524 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.8511, allocations: 13.25 kB / 0.9524 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.579e-05/0.8511, allocations: 12.22 kB / 0.9524 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.775e-05/0.8512, allocations: 320.3 kB / 0.9527 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.67e-05/0.8513, allocations: 20.61 kB / 0.9528 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.33e-05/0.8514, allocations: 13.08 kB / 0.9528 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/0.8515, allocations: 40.42 kB / 0.9528 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.8515, allocations: 3.938 kB / 0.9528 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001783/0.8517, allocations: 72.06 kB / 0.9529 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.8517, allocations: 10.97 kB / 0.9529 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.8518, allocations: 0 / 0.9529 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.8518, allocations: 0 / 0.9529 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.709e-05/0.8519, allocations: 10.55 kB / 0.9529 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.8519, allocations: 0 / 0.9529 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.771e-05/0.8519, allocations: 8.047 kB / 0.9529 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.8519, allocations: 1 kB / 0.9529 GB, free: 6.156 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 5.8e-05/0.852, allocations: 112 kB / 0.953 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.326e-05/0.852, allocations: 9.188 kB / 0.953 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000212/0.8523, allocations: 73.69 kB / 0.9531 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.8523, allocations: 1.156 kB / 0.9531 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.8523, allocations: 0 / 0.9531 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.8523, allocations: 0 / 0.9531 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001182/0.8524, allocations: 162.5 kB / 0.9532 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.8524, allocations: 0 / 0.9532 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.626e-05/0.8525, allocations: 10.42 kB / 0.9533 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.8525, allocations: 5.156 kB / 0.9533 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.8525, allocations: 0 / 0.9533 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.8525, allocations: 0 / 0.9533 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.8525, allocations: 1.5 kB / 0.9533 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000206/0.8527, allocations: 166.5 kB / 0.9534 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.401e-05/0.8527, allocations: 82.36 kB / 0.9535 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.8528, allocations: 7.969 kB / 0.9535 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.129e-05/0.8528, allocations: 8.891 kB / 0.9535 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.293e-05/0.8529, allocations: 0 / 0.9535 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.8529, allocations: 1.469 kB / 0.9535 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.527e-05/0.8529, allocations: 82.03 kB / 0.9536 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8529, allocations: 1.062 kB / 0.9536 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000205/0.8531, allocations: 3.156 kB / 0.9536 GB, free: 5.418 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.000119/0.8533, allocations: 106.2 kB / 0.9537 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002208/0.8535, allocations: 33.38 kB / 0.9537 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.8535, allocations: 0 / 0.9537 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.382e-05/0.8536, allocations: 22.45 kB / 0.9538 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003085/0.8539, allocations: 10.58 kB / 0.9538 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002976/0.8542, allocations: 114.2 kB / 0.9539 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001365/0.8544, allocations: 0.6798 MB / 0.9545 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.233e-05/0.8544, allocations: 1.422 kB / 0.9545 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.648e-05/0.8544, allocations: 8.719 kB / 0.9545 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.8544, allocations: 0 / 0.9545 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of Templates: time 0.00254/0.857, allocations: 442.8 kB / 0.955 GB, free: 4.238 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