Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.00145/0.00145, allocations: 111.5 kB / 15.99 MB, free: 6.355 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.001434/0.001434, allocations: 192 kB / 16.91 MB, free: 6.195 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.345/1.345, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.553/2.553, allocations: 469.8 MB / 0.7427 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 72.19 kB / 0.9087 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2768/0.2787, allocations: 159.1 MB / 1.064 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log10): time 0.001928/0.2807, allocations: 0.7182 MB / 1.065 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009244/0.2816, allocations: 0.8079 MB / 1.066 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.88e-05/0.2817, allocations: 0 / 1.066 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.814e-05/0.2817, allocations: 0 / 1.066 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.484e-05/0.2818, allocations: 0 / 1.066 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001205/0.2819, allocations: 15.92 kB / 1.066 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.882e-05/0.282, allocations: 15.98 kB / 1.066 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.845e-05/0.2821, allocations: 8 kB / 1.066 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.064e-05/0.2821, allocations: 15.88 kB / 1.066 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.69e-05/0.2822, allocations: 11.98 kB / 1.066 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.2822, allocations: 0 / 1.066 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.195e-05/0.2822, allocations: 4 kB / 1.066 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.721e-05/0.2822, allocations: 7.938 kB / 1.066 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.512e-05/0.2823, allocations: 11.86 kB / 1.066 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 6.45e-05/0.2823, allocations: 23.95 kB / 1.066 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2823, allocations: 0 / 1.066 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.783e-06/0.2823, allocations: 0 / 1.066 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.2824, allocations: 0 / 1.066 GB, free: 13.41 MB / 0.8419 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.0004795/0.2828, allocations: 335.8 kB / 1.066 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.2829, allocations: 8.031 kB / 1.066 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.975e-05/0.2829, allocations: 4.844 kB / 1.066 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/0.2831, allocations: 168.3 kB / 1.066 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.2831, allocations: 384 / 1.066 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/0.2831, allocations: 384 / 1.066 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001902/0.2833, allocations: 54.22 kB / 1.066 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.2833, allocations: 4.188 kB / 1.066 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.2833, allocations: 7.938 kB / 1.066 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.2833, allocations: 0 / 1.066 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001578/0.2835, allocations: 39.89 kB / 1.066 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003281/0.2838, allocations: 245 kB / 1.067 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001333/0.284, allocations: 38.5 kB / 1.067 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.592e-05/0.2841, allocations: 28.89 kB / 1.067 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.2841, allocations: 0 / 1.067 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.2841, allocations: 30.56 kB / 1.067 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 7.31e-07/0.2841, allocations: 0 / 1.067 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.000337/0.2845, allocations: 89.67 kB / 1.067 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.2845, allocations: 51.41 kB / 1.067 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.608e-05/0.2846, allocations: 97.86 kB / 1.067 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.2846, allocations: 25.7 kB / 1.067 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.438e-05/0.2847, allocations: 92.03 kB / 1.067 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.14e-05/0.2847, allocations: 0 / 1.067 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.331e-05/0.2847, allocations: 13.72 kB / 1.067 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.2849, allocations: 314.8 kB / 1.067 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.856e-05/0.285, allocations: 20.02 kB / 1.067 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.598e-05/0.285, allocations: 15.97 kB / 1.067 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.2852, allocations: 40.77 kB / 1.067 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2852, allocations: 0 / 1.067 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000193/0.2854, allocations: 77.56 kB / 1.067 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.2854, allocations: 4 kB / 1.067 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.82e-06/0.2854, allocations: 7.922 kB / 1.067 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.2854, allocations: 3.938 kB / 1.067 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.544e-05/0.2855, allocations: 11.98 kB / 1.068 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.918e-06/0.2855, allocations: 0 / 1.068 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.449e-05/0.2856, allocations: 4 kB / 1.068 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.2856, allocations: 4 kB / 1.068 GB, free: 11.39 MB / 0.8419 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.402e-05/0.2857, allocations: 117.8 kB / 1.068 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.041e-05/0.2857, allocations: 4 kB / 1.068 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002221/0.2859, allocations: 72.72 kB / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.286, allocations: 0 / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.286, allocations: 0 / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.286, allocations: 4 kB / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000168/0.2861, allocations: 157.6 kB / 1.068 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.2862, allocations: 0 / 1.068 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.449e-05/0.2862, allocations: 12.02 kB / 1.068 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.2862, allocations: 0 / 1.068 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-06/0.2862, allocations: 4 kB / 1.068 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.2862, allocations: 0 / 1.068 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2862, allocations: 0 / 1.068 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002283/0.2865, allocations: 167.4 kB / 1.068 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5e-05/0.2865, allocations: 85.02 kB / 1.068 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.2866, allocations: 3.984 kB / 1.068 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.333e-05/0.2866, allocations: 8 kB / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.82e-05/0.2867, allocations: 0 / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/0.2867, allocations: 4 kB / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.248e-05/0.2867, allocations: 83.44 kB / 1.068 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2867, allocations: 0 / 1.068 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000205/0.287, allocations: 4 kB / 1.068 GB, free: 10.57 MB / 0.8419 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.0001432/0.2871, allocations: 107.3 kB / 1.068 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002077/0.2873, allocations: 35.95 kB / 1.068 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2873, allocations: 0 / 1.068 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 7.681e-05/0.2874, allocations: 19.92 kB / 1.068 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002809/0.2877, allocations: 19.98 kB / 1.068 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002688/0.288, allocations: 135.4 kB / 1.069 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000297/0.2883, allocations: 0.6768 MB / 1.069 GB, free: 9.52 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.719e-05/0.2883, allocations: 7.438 kB / 1.069 GB, free: 9.512 MB / 0.8419 GB Notification: Performance of SimCode: time 2.51e-07/0.2883, allocations: 3.938 kB / 1.069 GB, free: 9.508 MB / 0.8419 GB Notification: Performance of Templates: time 0.001808/0.2901, allocations: 0.5438 MB / 1.07 GB, free: 8.969 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log10 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log10_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Log10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches