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.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.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.001293/0.001293, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001571/0.001571, allocations: 194.5 kB / 16.25 MB, free: 6.633 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.463/1.463, allocations: 222.9 MB / 239.9 MB, free: 4.512 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.524/2.524, allocations: 390.2 MB / 0.6643 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 63.91 kB / 0.8121 GB, free: 14.71 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8696/0.8711, allocations: 140.4 MB / 0.9491 GB, free: 9.27 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Log10): time 0.002085/0.8733, allocations: 0.7327 MB / 0.9498 GB, free: 8.707 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007644/0.8741, allocations: 0.8105 MB / 0.9506 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.921e-05/0.8741, allocations: 1.688 kB / 0.9506 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.201e-05/0.8741, allocations: 0 / 0.9506 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.398e-05/0.8742, allocations: 0 / 0.9506 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001574/0.8744, allocations: 6.906 kB / 0.9506 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.372e-05/0.8745, allocations: 24.05 kB / 0.9507 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.8746, allocations: 4.125 kB / 0.9507 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.971e-05/0.8747, allocations: 10.75 kB / 0.9507 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.231e-05/0.8747, allocations: 10.61 kB / 0.9507 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.915e-05/0.8747, allocations: 2.719 kB / 0.9507 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.158e-05/0.8748, allocations: 1.375 kB / 0.9507 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.892e-05/0.8748, allocations: 5.375 kB / 0.9507 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.144e-05/0.8748, allocations: 17.28 kB / 0.9507 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.068e-05/0.8749, allocations: 20.03 kB / 0.9507 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.8749, allocations: 0 / 0.9507 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.234e-06/0.8749, allocations: 1.375 kB / 0.9507 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.456e-06/0.8749, allocations: 0 / 0.9507 GB, free: 7.973 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.0004117/0.8754, allocations: 347.8 kB / 0.9511 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.8754, allocations: 9.625 kB / 0.9511 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.643e-05/0.8755, allocations: 2.312 kB / 0.9511 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.095e-05/0.8755, allocations: 165.7 kB / 0.9512 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.8756, allocations: 1.75 kB / 0.9512 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/0.8756, allocations: 1.75 kB / 0.9512 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001712/0.8758, allocations: 49.23 kB / 0.9513 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.8758, allocations: 4.125 kB / 0.9513 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.8758, allocations: 9.312 kB / 0.9513 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.8758, allocations: 0 / 0.9513 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001545/0.876, allocations: 33.83 kB / 0.9513 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003116/0.8763, allocations: 245.1 kB / 0.9516 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/0.8764, allocations: 42.91 kB / 0.9516 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.766e-05/0.8765, allocations: 27.84 kB / 0.9516 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.8765, allocations: 0 / 0.9516 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.8765, allocations: 31.94 kB / 0.9517 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.934e-06/0.8766, allocations: 3.984 kB / 0.9517 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003448/0.8769, allocations: 87.92 kB / 0.9517 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.025e-05/0.8769, allocations: 52.78 kB / 0.9518 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.633e-05/0.877, allocations: 99.34 kB / 0.9519 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/0.877, allocations: 25.7 kB / 0.9519 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.152e-05/0.8771, allocations: 85.52 kB / 0.952 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.935e-05/0.8771, allocations: 7.844 kB / 0.952 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.712e-05/0.8771, allocations: 12.47 kB / 0.952 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.375e-05/0.8772, allocations: 316.2 kB / 0.9523 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.516e-05/0.8773, allocations: 20.25 kB / 0.9523 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.64e-05/0.8773, allocations: 17.61 kB / 0.9523 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001382/0.8775, allocations: 36.08 kB / 0.9524 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.8775, allocations: 3.938 kB / 0.9524 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000167/0.8777, allocations: 76.97 kB / 0.9525 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.8777, allocations: 4.125 kB / 0.9525 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.8777, allocations: 1.375 kB / 0.9525 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.8777, allocations: 0 / 0.9525 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.525e-05/0.8778, allocations: 9.484 kB / 0.9525 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.8778, allocations: 1.375 kB / 0.9525 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.619e-05/0.8779, allocations: 6.734 kB / 0.9525 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.8779, allocations: 1.375 kB / 0.9525 GB, free: 6.152 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 6.175e-05/0.8779, allocations: 119.2 kB / 0.9526 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.415e-05/0.878, allocations: 5.281 kB / 0.9526 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002138/0.8782, allocations: 70.28 kB / 0.9527 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.8782, allocations: 1.125 kB / 0.9527 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.8782, allocations: 0 / 0.9527 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.8782, allocations: 0 / 0.9527 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000116/0.8783, allocations: 162.9 kB / 0.9528 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.8784, allocations: 0 / 0.9528 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.507e-05/0.8784, allocations: 14.12 kB / 0.9528 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.8784, allocations: 0 / 0.9528 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.8784, allocations: 1.156 kB / 0.9528 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.8784, allocations: 3.984 kB / 0.9528 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.8784, allocations: 4.438 kB / 0.9528 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001901/0.8786, allocations: 162.9 kB / 0.953 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.046e-05/0.8787, allocations: 82.53 kB / 0.9531 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.8787, allocations: 1.531 kB / 0.9531 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.11e-05/0.8788, allocations: 2.781 kB / 0.9531 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.93e-05/0.8788, allocations: 13.7 kB / 0.9531 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-06/0.8788, allocations: 0 / 0.9531 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.94e-05/0.8788, allocations: 78.34 kB / 0.9532 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8788, allocations: 1.562 kB / 0.9532 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002153/0.8791, allocations: 2.188 kB / 0.9532 GB, free: 5.414 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.0001103/0.8792, allocations: 102.7 kB / 0.9533 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002011/0.8794, allocations: 37.17 kB / 0.9533 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.8794, allocations: 0 / 0.9533 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.438e-05/0.8795, allocations: 20.2 kB / 0.9533 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.000285/0.8798, allocations: 6.562 kB / 0.9533 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002487/0.88, allocations: 115.8 kB / 0.9534 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001023/0.8801, allocations: 0.6805 MB / 0.9541 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.047e-05/0.8802, allocations: 1.188 kB / 0.9541 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.109e-05/0.8802, allocations: 8.562 kB / 0.9541 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of SimCode: time 2.91e-07/0.8802, allocations: 0 / 0.9541 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of Templates: time 0.002192/0.8824, allocations: 396.3 kB / 0.9545 GB, free: 4.258 MB / 0.7169 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 -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/jenkins/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