Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.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.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009291/0.009291, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001742/0.001742, allocations: 193.4 kB / 16.67 MB, free: 5.93 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.489/1.489, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.534/2.534, allocations: 390.2 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 59.91 kB / 0.9509 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.225/1.226, allocations: 140.4 MB / 1.088 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Min): time 0.002383/1.228, allocations: 0.7079 MB / 1.089 GB, free: 5.059 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001038/1.229, allocations: 0.8144 MB / 1.089 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.48e-05/1.229, allocations: 1.031 kB / 1.089 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.137e-05/1.229, allocations: 4 kB / 1.089 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.864e-05/1.23, allocations: 10.5 kB / 1.089 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001213/1.23, allocations: 10.06 kB / 1.089 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001005/1.23, allocations: 42.86 kB / 1.09 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/1.23, allocations: 7.031 kB / 1.09 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.387e-05/1.23, allocations: 21.17 kB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.775e-05/1.23, allocations: 22.88 kB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.735e-05/1.23, allocations: 4.094 kB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.895e-05/1.23, allocations: 7.812 kB / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.625e-05/1.23, allocations: 7.594 kB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.27e-05/1.23, allocations: 21.88 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001225/1.23, allocations: 35.52 kB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/1.23, allocations: 3.938 kB / 1.09 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.983e-06/1.23, allocations: 1.031 kB / 1.09 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.823e-06/1.23, allocations: 3.938 kB / 1.09 GB, free: 4.34 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005817/1.231, allocations: 364.9 kB / 1.09 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/1.231, allocations: 8.812 kB / 1.09 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.072e-05/1.231, allocations: 7.969 kB / 1.09 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/1.231, allocations: 169.4 kB / 1.09 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/1.231, allocations: 6.406 kB / 1.09 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.266e-05/1.231, allocations: 1.531 kB / 1.09 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002746/1.231, allocations: 69.2 kB / 1.09 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/1.231, allocations: 192 / 1.09 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/1.232, allocations: 5 kB / 1.09 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-06/1.232, allocations: 4 kB / 1.09 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003022/1.232, allocations: 66.95 kB / 1.09 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004132/1.232, allocations: 270.7 kB / 1.091 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002141/1.232, allocations: 63.73 kB / 1.091 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000178/1.233, allocations: 37.23 kB / 1.091 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.001e-05/1.233, allocations: 0 / 1.091 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.402e-05/1.233, allocations: 37.12 kB / 1.091 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/1.233, allocations: 0 / 1.091 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0006504/1.233, allocations: 133.2 kB / 1.091 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.774e-05/1.233, allocations: 51.41 kB / 1.091 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/1.234, allocations: 107.6 kB / 1.091 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/1.234, allocations: 25.7 kB / 1.091 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.675e-05/1.234, allocations: 88.03 kB / 1.091 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.962e-05/1.234, allocations: 17.73 kB / 1.091 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.425e-05/1.234, allocations: 17.7 kB / 1.091 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.121e-05/1.234, allocations: 314.6 kB / 1.091 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001447/1.234, allocations: 29.14 kB / 1.091 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001365/1.234, allocations: 32.62 kB / 1.091 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002699/1.234, allocations: 73.61 kB / 1.092 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/1.234, allocations: 3.938 kB / 1.092 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003129/1.235, allocations: 94.92 kB / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/1.235, allocations: 5.281 kB / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/1.235, allocations: 0.6875 kB / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/1.235, allocations: 5.375 kB / 1.092 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/1.235, allocations: 15.38 kB / 1.092 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/1.235, allocations: 0.8125 kB / 1.092 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.543e-05/1.235, allocations: 11.36 kB / 1.092 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/1.235, allocations: 1.594 kB / 1.092 GB, free: 2.57 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 (3): * Single equations (assignments): 3 * 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.531e-05/1.235, allocations: 116.4 kB / 1.092 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.451e-05/1.235, allocations: 5.594 kB / 1.092 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004061/1.236, allocations: 113.2 kB / 1.092 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/1.236, allocations: 0.6875 kB / 1.092 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/1.236, allocations: 4.688 kB / 1.092 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.74e-06/1.236, allocations: 4.797 kB / 1.092 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001652/1.236, allocations: 171.1 kB / 1.092 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/1.236, allocations: 0 / 1.092 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/1.236, allocations: 19.88 kB / 1.092 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/1.236, allocations: 1.062 kB / 1.092 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/1.236, allocations: 4.734 kB / 1.092 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/1.236, allocations: 1.156 kB / 1.092 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/1.236, allocations: 0 / 1.092 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003763/1.236, allocations: 202.3 kB / 1.092 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.854e-05/1.236, allocations: 83.05 kB / 1.092 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/1.236, allocations: 1.484 kB / 1.092 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/1.236, allocations: 14.77 kB / 1.092 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.992e-05/1.237, allocations: 5.047 kB / 1.092 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/1.237, allocations: 1.062 kB / 1.092 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.55e-05/1.237, allocations: 87.72 kB / 1.092 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/1.237, allocations: 0.7188 kB / 1.093 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002182/1.237, allocations: 6.281 kB / 1.093 GB, free: 1.84 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 (3): * Single equations (assignments): 3 * 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.0001865/1.237, allocations: 102.9 kB / 1.093 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003623/1.237, allocations: 71.42 kB / 1.093 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.237, allocations: 0 / 1.093 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000156/1.238, allocations: 43.23 kB / 1.093 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/1.238, allocations: 8.047 kB / 1.093 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003356/1.238, allocations: 119.2 kB / 1.093 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001704/1.238, allocations: 0.6802 MB / 1.093 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.036e-05/1.238, allocations: 1.359 kB / 1.094 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.19e-05/1.238, allocations: 14.53 kB / 1.094 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of SimCode: time 2.01e-07/1.238, allocations: 0 / 1.094 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of Templates: time 0.003659/1.242, allocations: 0.6803 MB / 1.094 GB, free: 0.832 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Min.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches