Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.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.Cos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cos1.u|cos1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cos1.u|cos1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001698/0.001698, allocations: 109.8 kB / 16.41 MB, free: 6.496 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.001512/0.001512, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.364/1.364, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.296/2.296, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 67.89 kB / 0.9516 GB, free: 7.57 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9556/0.9571, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos): time 0.001755/0.9589, allocations: 0.6649 MB / 1.089 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008415/0.9597, allocations: 0.8088 MB / 1.09 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.354e-05/0.9598, allocations: 1.188 kB / 1.09 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.742e-05/0.9598, allocations: 0 / 1.09 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.345e-05/0.9599, allocations: 4.938 kB / 1.09 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001434/0.96, allocations: 9.359 kB / 1.09 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.867e-05/0.9601, allocations: 27.61 kB / 1.09 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.9602, allocations: 11.89 kB / 1.09 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.135e-05/0.9603, allocations: 9.625 kB / 1.09 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.176e-05/0.9604, allocations: 13.59 kB / 1.09 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.9604, allocations: 1.812 kB / 1.09 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.688e-06/0.9604, allocations: 2.188 kB / 1.09 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.572e-05/0.9604, allocations: 1.828 kB / 1.09 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.827e-05/0.9604, allocations: 11.19 kB / 1.09 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 7.727e-05/0.9605, allocations: 20.48 kB / 1.09 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.9605, allocations: 1.062 kB / 1.09 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.813e-06/0.9605, allocations: 0 / 1.09 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.9605, allocations: 0 / 1.09 GB, free: 4.426 MB / 0.8575 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.0003827/0.9609, allocations: 337.1 kB / 1.091 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.961, allocations: 8.938 kB / 1.091 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.796e-05/0.961, allocations: 7 kB / 1.091 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.391e-05/0.9611, allocations: 167 kB / 1.091 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.9611, allocations: 5.844 kB / 1.091 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.351e-05/0.9611, allocations: 1.312 kB / 1.091 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001671/0.9613, allocations: 48.97 kB / 1.091 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.9613, allocations: 4.188 kB / 1.091 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.9613, allocations: 5 kB / 1.091 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.9613, allocations: 3.938 kB / 1.091 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000167/0.9615, allocations: 33 kB / 1.091 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002468/0.9618, allocations: 254.6 kB / 1.091 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001163/0.9619, allocations: 44.53 kB / 1.091 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.913e-05/0.962, allocations: 26.97 kB / 1.091 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.962, allocations: 1.891 kB / 1.091 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.377e-05/0.962, allocations: 31.53 kB / 1.091 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.962, allocations: 0 / 1.091 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003433/0.9624, allocations: 84.36 kB / 1.091 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.577e-05/0.9624, allocations: 56.62 kB / 1.091 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.598e-05/0.9625, allocations: 101 kB / 1.091 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.313e-06/0.9625, allocations: 25.7 kB / 1.091 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.475e-05/0.9625, allocations: 85.89 kB / 1.091 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.462e-05/0.9625, allocations: 1.719 kB / 1.091 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.75e-05/0.9626, allocations: 16.48 kB / 1.092 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.603e-05/0.9626, allocations: 317.2 kB / 1.092 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.667e-05/0.9627, allocations: 14.44 kB / 1.092 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.934e-05/0.9628, allocations: 18.06 kB / 1.092 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/0.963, allocations: 37.09 kB / 1.092 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.963, allocations: 0 / 1.092 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001865/0.9632, allocations: 75.12 kB / 1.092 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.9632, allocations: 10.16 kB / 1.092 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.9632, allocations: 0.75 kB / 1.092 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.9632, allocations: 3.938 kB / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.725e-05/0.9633, allocations: 8.531 kB / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.9633, allocations: 2.281 kB / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.735e-05/0.9634, allocations: 4.531 kB / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.9634, allocations: 2.438 kB / 1.092 GB, free: 2.707 MB / 0.8575 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 4.745e-05/0.9634, allocations: 119.6 kB / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.412e-05/0.9634, allocations: 2.625 kB / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002214/0.9637, allocations: 70.7 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.9637, allocations: 0 / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.9637, allocations: 0.75 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.9637, allocations: 0 / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001161/0.9638, allocations: 164.7 kB / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.9638, allocations: 4.031 kB / 1.092 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.051e-05/0.9639, allocations: 12.78 kB / 1.092 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.9639, allocations: 0.7969 kB / 1.092 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.9639, allocations: 1 kB / 1.092 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.9639, allocations: 0 / 1.092 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.9639, allocations: 1.125 kB / 1.092 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002207/0.9641, allocations: 162.8 kB / 1.092 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.579e-05/0.9642, allocations: 87.14 kB / 1.093 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/0.9642, allocations: 4.516 kB / 1.093 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.512e-05/0.9643, allocations: 6.859 kB / 1.093 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.633e-05/0.9643, allocations: 2.047 kB / 1.093 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.9643, allocations: 0 / 1.093 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.428e-05/0.9643, allocations: 80.25 kB / 1.093 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9644, allocations: 0 / 1.093 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002094/0.9646, allocations: 4.812 kB / 1.093 GB, free: 2.012 MB / 0.8575 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.0001226/0.9647, allocations: 104 kB / 1.093 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002102/0.9649, allocations: 44.06 kB / 1.093 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.9649, allocations: 0 / 1.093 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.383e-05/0.965, allocations: 16.91 kB / 1.093 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002743/0.9653, allocations: 11.56 kB / 1.093 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002504/0.9655, allocations: 132.9 kB / 1.093 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001068/0.9657, allocations: 0.676 MB / 1.094 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.665e-05/0.9657, allocations: 9.5 kB / 1.094 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of SimCode: time 8.42e-07/0.9657, allocations: 0 / 1.094 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of Templates: time 0.002026/0.9677, allocations: 0.5449 MB / 1.094 GB, free: 1.027 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Cos.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches