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.000912/0.0009125, allocations: 92.08 kB / 15.06 MB, free: 1.098 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.0008767/0.0008767, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.559/1.559, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.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.544/2.544, allocations: 390.9 MB / 0.666 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003996/0.0003999, allocations: 15.94 kB / 0.8154 GB, free: 13.5 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8826/0.883, allocations: 142.4 MB / 0.9545 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Log10): time 0.0008719/0.8839, allocations: 394.4 kB / 0.9548 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000789/0.8847, allocations: 0.7975 MB / 0.9556 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.912e-05/0.8847, allocations: 1.438 kB / 0.9556 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.466e-05/0.8848, allocations: 0 / 0.9556 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.617e-05/0.8848, allocations: 3.938 kB / 0.9556 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001284/0.885, allocations: 6.688 kB / 0.9556 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.318e-05/0.885, allocations: 19.55 kB / 0.9556 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.733e-05/0.8851, allocations: 6.156 kB / 0.9556 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.913e-05/0.8852, allocations: 10.89 kB / 0.9557 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.554e-05/0.8853, allocations: 6.906 kB / 0.9557 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.909e-05/0.8853, allocations: 1.406 kB / 0.9557 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.004e-05/0.8853, allocations: 5.469 kB / 0.9557 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.292e-05/0.8853, allocations: 7.969 kB / 0.9557 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.999e-05/0.8853, allocations: 27.11 kB / 0.9557 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.164e-05/0.8854, allocations: 14.84 kB / 0.9557 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.8854, allocations: 0 / 0.9557 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.904e-06/0.8854, allocations: 0.75 kB / 0.9557 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.8854, allocations: 4 kB / 0.9557 GB, free: 6.684 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.0003652/0.8858, allocations: 337.4 kB / 0.956 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.8858, allocations: 9.469 kB / 0.9561 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.22e-05/0.8859, allocations: 5.203 kB / 0.9561 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.124e-05/0.886, allocations: 161 kB / 0.9562 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.886, allocations: 9 kB / 0.9562 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.437e-06/0.886, allocations: 1.188 kB / 0.9562 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/0.8862, allocations: 61.2 kB / 0.9563 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.8862, allocations: 3.984 kB / 0.9563 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.8862, allocations: 1.062 kB / 0.9563 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.8862, allocations: 3.938 kB / 0.9563 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001618/0.8864, allocations: 52.31 kB / 0.9563 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000271/0.8867, allocations: 240.8 kB / 0.9566 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.8868, allocations: 44.25 kB / 0.9566 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.194e-05/0.8869, allocations: 31.7 kB / 0.9566 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.142e-05/0.8869, allocations: 0 / 0.9566 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.631e-05/0.8869, allocations: 31.62 kB / 0.9567 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.8869, allocations: 0 / 0.9567 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003364/0.8873, allocations: 107.4 kB / 0.9568 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.49e-05/0.8873, allocations: 51.41 kB / 0.9568 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.161e-05/0.8874, allocations: 99.11 kB / 0.9569 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.024e-05/0.8874, allocations: 30.92 kB / 0.9569 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.392e-05/0.8874, allocations: 84.12 kB / 0.957 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.571e-05/0.8875, allocations: 13.03 kB / 0.957 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-06/0.8875, allocations: 1.156 kB / 0.957 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.303e-05/0.8875, allocations: 310.8 kB / 0.9573 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.344e-05/0.8876, allocations: 23.2 kB / 0.9574 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.733e-05/0.8877, allocations: 25.23 kB / 0.9574 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.685e-05/0.8878, allocations: 22.69 kB / 0.9574 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.8878, allocations: 0 / 0.9574 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001778/0.888, allocations: 77.61 kB / 0.9575 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.888, allocations: 5.781 kB / 0.9575 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.888, allocations: 0 / 0.9575 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.888, allocations: 4.797 kB / 0.9575 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.364e-05/0.8881, allocations: 12.58 kB / 0.9575 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.8881, allocations: 0 / 0.9575 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.745e-05/0.8882, allocations: 13.86 kB / 0.9575 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.8882, allocations: 0.9688 kB / 0.9575 GB, free: 4.895 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.199e-05/0.8883, allocations: 107.9 kB / 0.9576 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.8883, allocations: 1.062 kB / 0.9576 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000212/0.8885, allocations: 88.5 kB / 0.9577 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.8885, allocations: 0 / 0.9577 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.8885, allocations: 12.97 kB / 0.9577 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.8885, allocations: 0 / 0.9577 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001172/0.8886, allocations: 154.4 kB / 0.9579 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.8887, allocations: 0 / 0.9579 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.674e-05/0.8887, allocations: 16.7 kB / 0.9579 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.8887, allocations: 3.938 kB / 0.9579 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.8887, allocations: 5.312 kB / 0.9579 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.8887, allocations: 0 / 0.9579 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.8888, allocations: 3.984 kB / 0.9579 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002043/0.889, allocations: 185.2 kB / 0.9581 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.858e-05/0.889, allocations: 78.61 kB / 0.9581 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/0.889, allocations: 0 / 0.9581 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.139e-05/0.8891, allocations: 9.391 kB / 0.9581 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.626e-05/0.8891, allocations: 1.469 kB / 0.9582 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.8891, allocations: 1.438 kB / 0.9582 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.201e-05/0.8892, allocations: 82.22 kB / 0.9582 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8892, allocations: 0 / 0.9582 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002128/0.8894, allocations: 15.25 kB / 0.9582 GB, free: 4.141 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001327/0.8895, allocations: 103 kB / 0.9583 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001985/0.8897, allocations: 42.47 kB / 0.9584 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.8897, allocations: 4.062 kB / 0.9584 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.659e-05/0.8898, allocations: 28.06 kB / 0.9584 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002918/0.8901, allocations: 7.453 kB / 0.9584 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000256/0.8904, allocations: 100.1 kB / 0.9585 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001152/0.8905, allocations: 0.6816 MB / 0.9592 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.283e-05/0.8905, allocations: 0 / 0.9592 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.179e-05/0.8906, allocations: 9.25 kB / 0.9592 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.8906, allocations: 0 / 0.9592 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of Templates: time 0.002323/0.8929, allocations: 359 kB / 0.9595 GB, free: 3.012 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