Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.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.Log10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log10_1.u|log10_1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Log10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log10_1.u|log10_1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 102.1 kB / 16.35 MB, free: 5.824 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.001199/0.0012, allocations: 193.9 kB / 17.29 MB, free: 5.48 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.391/1.391, 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.2-maint.9.1.x/package.mo): time 2.278/2.278, allocations: 390.3 MB / 0.6655 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 63.19 kB / 0.814 GB, free: 32.61 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3628/0.364, allocations: 140.4 MB / 0.9511 GB, free: 8.012 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Log10): time 0.002066/0.3661, allocations: 0.6569 MB / 0.9518 GB, free: 7.355 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0008902/0.367, allocations: 0.8099 MB / 0.9526 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.501e-05/0.3671, allocations: 0 / 0.9526 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.729e-05/0.3671, allocations: 3.938 kB / 0.9526 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.164e-05/0.3672, allocations: 4 kB / 0.9526 GB, free: 6.527 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001376/0.3673, allocations: 11.94 kB / 0.9526 GB, free: 6.516 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.23e-05/0.3674, allocations: 23.97 kB / 0.9526 GB, free: 6.492 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.3675, allocations: 12 kB / 0.9526 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.685e-05/0.3676, allocations: 7.984 kB / 0.9526 GB, free: 6.473 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.196e-05/0.3677, allocations: 15.92 kB / 0.9526 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.925e-05/0.3677, allocations: 3.938 kB / 0.9527 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.079e-05/0.3677, allocations: 4 kB / 0.9527 GB, free: 6.449 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.783e-05/0.3677, allocations: 4 kB / 0.9527 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.682e-05/0.3678, allocations: 3.938 kB / 0.9527 GB, free: 6.441 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.053e-05/0.3678, allocations: 23.89 kB / 0.9527 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.3679, allocations: 4 kB / 0.9527 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3679, allocations: 0 / 0.9527 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.737e-05/0.3679, allocations: 4 kB / 0.9527 GB, free: 6.41 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004595/0.3684, allocations: 335.5 kB / 0.953 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.3684, allocations: 8.031 kB / 0.953 GB, free: 6.023 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.216e-05/0.3684, allocations: 4.938 kB / 0.953 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002236/0.3687, allocations: 172.2 kB / 0.9532 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.3687, allocations: 4.375 kB / 0.9532 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.47e-05/0.3687, allocations: 4.375 kB / 0.9532 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/0.3689, allocations: 50.23 kB / 0.9532 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.3689, allocations: 192 / 0.9532 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.3689, allocations: 11.88 kB / 0.9533 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.3689, allocations: 0 / 0.9533 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001649/0.3691, allocations: 35.89 kB / 0.9533 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003922/0.3695, allocations: 245 kB / 0.9535 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/0.3696, allocations: 42.5 kB / 0.9536 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.041e-05/0.3697, allocations: 20.91 kB / 0.9536 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.3698, allocations: 0 / 0.9536 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/0.3698, allocations: 38.55 kB / 0.9536 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 9.31e-07/0.3698, allocations: 3.938 kB / 0.9536 GB, free: 5.289 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003484/0.3702, allocations: 77.66 kB / 0.9537 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.034e-05/0.3702, allocations: 51.41 kB / 0.9537 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.3703, allocations: 109.8 kB / 0.9539 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.3704, allocations: 25.7 kB / 0.9539 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.331e-05/0.3704, allocations: 80.14 kB / 0.954 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.911e-05/0.3704, allocations: 7.906 kB / 0.954 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.078e-05/0.3705, allocations: 17.7 kB / 0.954 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.3706, allocations: 315 kB / 0.9543 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.613e-05/0.3707, allocations: 15.98 kB / 0.9543 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.663e-05/0.3707, allocations: 15.98 kB / 0.9543 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000136/0.3709, allocations: 40.75 kB / 0.9543 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3709, allocations: 0 / 0.9543 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001786/0.3711, allocations: 77.67 kB / 0.9544 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.3711, allocations: 4 kB / 0.9544 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.3711, allocations: 3.984 kB / 0.9544 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.3711, allocations: 4 kB / 0.9544 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.7e-05/0.3712, allocations: 4 kB / 0.9544 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.289e-06/0.3712, allocations: 0 / 0.9544 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.579e-05/0.3713, allocations: 7.984 kB / 0.9544 GB, free: 4.387 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.3713, allocations: 0 / 0.9544 GB, free: 4.387 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 (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 8.058e-05/0.3714, allocations: 120.9 kB / 0.9546 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.423e-05/0.3714, allocations: 3.906 kB / 0.9546 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002156/0.3716, allocations: 76.72 kB / 0.9546 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3716, allocations: 0 / 0.9546 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.3717, allocations: 3.984 kB / 0.9546 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.3717, allocations: 0 / 0.9546 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002582/0.3719, allocations: 157.6 kB / 0.9548 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3719, allocations: 4.031 kB / 0.9548 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.877e-05/0.372, allocations: 11.98 kB / 0.9548 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.372, allocations: 0 / 0.9548 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.372, allocations: 0 / 0.9548 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.372, allocations: 0 / 0.9548 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.372, allocations: 0 / 0.9548 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002379/0.3723, allocations: 175.3 kB / 0.955 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.789e-05/0.3723, allocations: 77.11 kB / 0.955 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.175e-05/0.3723, allocations: 0 / 0.955 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.476e-05/0.3724, allocations: 7.984 kB / 0.9551 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.845e-05/0.3725, allocations: 4 kB / 0.9551 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.3725, allocations: 3.938 kB / 0.9551 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.366e-05/0.3725, allocations: 83.28 kB / 0.9551 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3725, allocations: 0 / 0.9551 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002151/0.3728, allocations: 4 kB / 0.9551 GB, free: 3.57 MB / 0.7325 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.000161/0.3729, allocations: 103.3 kB / 0.9552 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002042/0.3731, allocations: 35.97 kB / 0.9553 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.3732, allocations: 0 / 0.9553 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.903e-05/0.3732, allocations: 23.91 kB / 0.9553 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000312/0.3736, allocations: 16 kB / 0.9553 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003298/0.3739, allocations: 101.5 kB / 0.9554 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002626/0.3742, allocations: 0.6766 MB / 0.9561 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.454e-05/0.3742, allocations: 3.984 kB / 0.9561 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.653e-05/0.3742, allocations: 11.44 kB / 0.9561 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of SimCode: time 3.01e-07/0.3742, allocations: 0 / 0.9561 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of Templates: time 0.002653/0.3769, allocations: 446.7 kB / 0.9565 GB, free: 2.113 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Log10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches