Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Reals.Validation.Log10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log10_1.u|log10_1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log10") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Log10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log10_1.u|log10_1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006101/0.006101, allocations: 101.4 kB / 15.73 MB, free: 6.051 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.001267/0.001267, allocations: 188.3 kB / 16.67 MB, free: 5.969 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.45/1.45, 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 10.1.1-maint.10.0.x/package.mo): time 2.572/2.572, allocations: 437 MB / 0.7105 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 63.91 kB / 1.019 GB, free: 9.363 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.131/1.132, allocations: 151.6 MB / 1.167 GB, free: 3.809 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log10): time 0.00224/1.135, allocations: 0.6614 MB / 1.167 GB, free: 3.152 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001012/1.136, allocations: 0.8078 MB / 1.168 GB, free: 2.332 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.769e-05/1.136, allocations: 0 / 1.168 GB, free: 2.332 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.188e-05/1.136, allocations: 7.938 kB / 1.168 GB, free: 2.324 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.551e-05/1.136, allocations: 0 / 1.168 GB, free: 2.324 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000187/1.136, allocations: 15.92 kB / 1.168 GB, free: 2.309 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.345e-05/1.136, allocations: 16 kB / 1.168 GB, free: 2.293 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/1.136, allocations: 15.97 kB / 1.168 GB, free: 2.277 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.71e-05/1.136, allocations: 15.88 kB / 1.168 GB, free: 2.262 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.226e-05/1.136, allocations: 7.984 kB / 1.168 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/1.136, allocations: 4 kB / 1.168 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.076e-05/1.137, allocations: 4 kB / 1.168 GB, free: 2.246 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.646e-05/1.137, allocations: 4 kB / 1.168 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.6e-05/1.137, allocations: 7.938 kB / 1.168 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 9.067e-05/1.137, allocations: 23.89 kB / 1.168 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/1.137, allocations: 0 / 1.168 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.492e-06/1.137, allocations: 0 / 1.168 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.189e-06/1.137, allocations: 4 kB / 1.168 GB, free: 2.207 MB / 0.8887 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.0004703/1.137, allocations: 336 kB / 1.169 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/1.137, allocations: 8.922 kB / 1.169 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.195e-05/1.137, allocations: 0.9375 kB / 1.169 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/1.137, allocations: 176.3 kB / 1.169 GB, free: 1.613 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/1.137, allocations: 384 / 1.169 GB, free: 1.613 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.027e-06/1.137, allocations: 384 / 1.169 GB, free: 1.613 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000195/1.138, allocations: 50.23 kB / 1.169 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/1.138, allocations: 192 / 1.169 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/1.138, allocations: 3.938 kB / 1.169 GB, free: 1.555 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/1.138, allocations: 4 kB / 1.169 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001641/1.138, allocations: 39.89 kB / 1.169 GB, free: 1.512 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003857/1.138, allocations: 245 kB / 1.169 GB, free: 1.223 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001341/1.138, allocations: 40.94 kB / 1.169 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.805e-05/1.138, allocations: 28.89 kB / 1.169 GB, free: 1.145 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/1.138, allocations: 0 / 1.169 GB, free: 1.145 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.987e-05/1.139, allocations: 38.5 kB / 1.169 GB, free: 1.098 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/1.139, allocations: 0 / 1.169 GB, free: 1.098 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0003658/1.139, allocations: 81.64 kB / 1.169 GB, free: 1.012 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/1.139, allocations: 55.34 kB / 1.169 GB, free: 0.9453 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.573e-05/1.139, allocations: 97.84 kB / 1.169 GB, free: 0.8398 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/1.139, allocations: 29.83 kB / 1.169 GB, free: 0.8047 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.536e-05/1.139, allocations: 92.08 kB / 1.169 GB, free: 0.7109 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.067e-05/1.139, allocations: 7.938 kB / 1.169 GB, free: 0.7031 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.193e-05/1.139, allocations: 13.72 kB / 1.17 GB, free: 0.6836 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001569/1.139, allocations: 314.8 kB / 1.17 GB, free: 376 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.593e-05/1.139, allocations: 15.92 kB / 1.17 GB, free: 360 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.814e-05/1.14, allocations: 19.97 kB / 1.17 GB, free: 340 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001401/1.14, allocations: 44.83 kB / 1.17 GB, free: 292 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/1.14, allocations: 0 / 1.17 GB, free: 292 kB / 0.8887 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001759/1.14, allocations: 73.55 kB / 1.17 GB, free: 212 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/1.14, allocations: 4 kB / 1.17 GB, free: 208 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/1.14, allocations: 0 / 1.17 GB, free: 208 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/1.14, allocations: 0 / 1.17 GB, free: 208 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.396e-05/1.14, allocations: 12.03 kB / 1.17 GB, free: 196 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/1.14, allocations: 3.984 kB / 1.17 GB, free: 192 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.269e-05/1.14, allocations: 4 kB / 1.17 GB, free: 188 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/1.14, allocations: 0 / 1.17 GB, free: 188 kB / 0.8887 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.422e-05/1.14, allocations: 117.8 kB / 1.17 GB, free: 60 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.004e-05/1.14, allocations: 0 / 1.17 GB, free: 60 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002373/1.14, allocations: 80.7 kB / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/1.14, allocations: 0 / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/1.14, allocations: 4 kB / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/1.14, allocations: 0 / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001605/1.141, allocations: 157.6 kB / 1.17 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/1.141, allocations: 0 / 1.17 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.377e-05/1.141, allocations: 7.984 kB / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/1.141, allocations: 0 / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/1.141, allocations: 8 kB / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/1.141, allocations: 0 / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/1.141, allocations: 4.031 kB / 1.17 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002385/1.141, allocations: 163.4 kB / 1.17 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.467e-05/1.141, allocations: 81.06 kB / 1.171 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.127e-05/1.141, allocations: 0 / 1.171 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.346e-05/1.141, allocations: 7.984 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/1.141, allocations: 7.969 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.316e-05/1.141, allocations: 8 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.507e-05/1.141, allocations: 79.27 kB / 1.171 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.11e-07/1.141, allocations: 0 / 1.171 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002002/1.141, allocations: 4 kB / 1.171 GB, free: 15.36 MB / 0.9044 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.0001533/1.142, allocations: 99.25 kB / 1.171 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002129/1.142, allocations: 39.95 kB / 1.171 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/1.142, allocations: 0 / 1.171 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 9.37e-05/1.142, allocations: 23.92 kB / 1.171 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003142/1.142, allocations: 7.938 kB / 1.171 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002857/1.143, allocations: 97.45 kB / 1.171 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/1.143, allocations: 0.6806 MB / 1.172 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.306e-05/1.143, allocations: 128 / 1.172 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.91e-05/1.143, allocations: 15.44 kB / 1.172 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of SimCode: time 2.4e-07/1.143, allocations: 0 / 1.172 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of Templates: time 0.002506/1.145, allocations: 447.2 kB / 1.172 GB, free: 13.91 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log10_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Log10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches