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.008923/0.008923, allocations: 101.7 kB / 15.73 MB, free: 5.969 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.001607/0.001608, allocations: 197.7 kB / 16.67 MB, free: 5.906 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.54/1.54, allocations: 222.9 MB / 240.4 MB, free: 4.301 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.739/2.739, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001296, allocations: 65.81 kB / 0.9509 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3816/0.3829, allocations: 140.4 MB / 1.088 GB, free: 1.418 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Log10): time 0.002022/0.385, allocations: 0.6553 MB / 1.089 GB, free: 0.7617 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001151/0.3862, allocations: 0.8082 MB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.923e-05/0.3863, allocations: 0 / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.337e-05/0.3863, allocations: 3.938 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.158e-05/0.3864, allocations: 3.938 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001876/0.3866, allocations: 11.98 kB / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.256e-05/0.3867, allocations: 23.92 kB / 1.089 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.3869, allocations: 4 kB / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.545e-05/0.3869, allocations: 15.92 kB / 1.089 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.679e-05/0.387, allocations: 15.98 kB / 1.089 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.876e-05/0.387, allocations: 0 / 1.089 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.325e-05/0.387, allocations: 4 kB / 1.089 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.202e-05/0.3871, allocations: 3.938 kB / 1.089 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.851e-05/0.3871, allocations: 4 kB / 1.09 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.008e-05/0.3872, allocations: 23.89 kB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.3872, allocations: 0 / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.096e-06/0.3872, allocations: 4 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.655e-06/0.3872, allocations: 0 / 1.09 GB, free: 15.82 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.0005639/0.3878, allocations: 339.5 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/0.3879, allocations: 8.031 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.619e-05/0.3879, allocations: 8.844 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001685/0.3881, allocations: 168.3 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.3881, allocations: 384 / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.972e-05/0.3881, allocations: 4.359 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002053/0.3883, allocations: 50.23 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.3884, allocations: 192 / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.3884, allocations: 3.938 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.3884, allocations: 4 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001611/0.3886, allocations: 31.97 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000398/0.389, allocations: 256.8 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001222/0.3891, allocations: 34.5 kB / 1.09 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.246e-05/0.3892, allocations: 28.91 kB / 1.09 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.663e-05/0.3892, allocations: 0 / 1.09 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.3893, allocations: 34.55 kB / 1.09 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.3893, allocations: 0 / 1.09 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003864/0.3897, allocations: 81.59 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.863e-05/0.3897, allocations: 55.52 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.73e-05/0.3898, allocations: 101.9 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.3898, allocations: 25.7 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.434e-05/0.3899, allocations: 88.05 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.977e-05/0.3899, allocations: 0 / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-05/0.39, allocations: 21.7 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.3901, allocations: 310.8 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.909e-05/0.3902, allocations: 15.98 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.226e-05/0.3903, allocations: 15.98 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001404/0.3905, allocations: 44.75 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3905, allocations: 0 / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000188/0.3907, allocations: 73.45 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.3907, allocations: 8.078 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.3907, allocations: 4 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.3907, allocations: 0 / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.3908, allocations: 12 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.3908, allocations: 0 / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.793e-05/0.3909, allocations: 11.98 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-06/0.3909, allocations: 0 / 1.091 GB, free: 13.79 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 8.579e-05/0.391, allocations: 113.8 kB / 1.091 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.049e-05/0.391, allocations: 0 / 1.091 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000224/0.3913, allocations: 76.72 kB / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.3913, allocations: 7.984 kB / 1.091 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.3913, allocations: 0 / 1.091 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.3913, allocations: 0 / 1.091 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001689/0.3915, allocations: 157.6 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.3915, allocations: 0 / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.563e-05/0.3915, allocations: 7.984 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.3915, allocations: 4 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.3916, allocations: 7.969 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3916, allocations: 0 / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3916, allocations: 0 / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002333/0.3918, allocations: 163.5 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.387e-05/0.3919, allocations: 84.95 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.275e-05/0.3919, allocations: 0 / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.308e-05/0.392, allocations: 12.02 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.169e-05/0.392, allocations: 0 / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.149e-06/0.392, allocations: 4.188 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.2e-05/0.3921, allocations: 87.19 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3921, allocations: 4 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002068/0.3923, allocations: 0 / 1.092 GB, free: 12.98 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.0001609/0.3925, allocations: 103.8 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000208/0.3927, allocations: 35.97 kB / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.3927, allocations: 0 / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.153e-05/0.3928, allocations: 19.97 kB / 1.092 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003233/0.3931, allocations: 11.94 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003266/0.3934, allocations: 109.5 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003766/0.3938, allocations: 0.6769 MB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.702e-05/0.3939, allocations: 3.984 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.862e-05/0.3939, allocations: 11.38 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/0.3939, allocations: 4 kB / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of Templates: time 0.002956/0.3969, allocations: 436 kB / 1.093 GB, free: 11.52 MB / 0.8575 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