Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.00148/0.00148, allocations: 116.1 kB / 16.37 MB, free: 6.012 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.001383/0.001383, allocations: 191.6 kB / 17.31 MB, free: 5.613 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.402/1.402, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.618/2.618, allocations: 442.6 MB / 0.7165 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 65.66 kB / 0.8774 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.359/0.3605, allocations: 153 MB / 1.027 GB, free: 1.996 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log10): time 0.002089/0.3626, allocations: 0.6714 MB / 1.027 GB, free: 1.328 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0009541/0.3636, allocations: 0.8025 MB / 1.028 GB, free: 0.5156 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.09e-05/0.3636, allocations: 0 / 1.028 GB, free: 0.5156 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.882e-05/0.3637, allocations: 0 / 1.028 GB, free: 0.5156 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.017e-05/0.3637, allocations: 7.938 kB / 1.028 GB, free: 0.5078 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001626/0.3639, allocations: 11.97 kB / 1.028 GB, free: 0.4961 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.147e-05/0.364, allocations: 23.88 kB / 1.028 GB, free: 484 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.3641, allocations: 11.98 kB / 1.028 GB, free: 472 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.353e-05/0.3642, allocations: 8 kB / 1.028 GB, free: 464 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.96e-05/0.3642, allocations: 15.92 kB / 1.028 GB, free: 448 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.547e-05/0.3642, allocations: 0 / 1.028 GB, free: 448 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.113e-05/0.3643, allocations: 4 kB / 1.028 GB, free: 444 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.6e-05/0.3643, allocations: 0 / 1.028 GB, free: 444 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.812e-05/0.3643, allocations: 7.938 kB / 1.028 GB, free: 436 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 8.18e-05/0.3644, allocations: 27.88 kB / 1.028 GB, free: 408 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.3644, allocations: 4 kB / 1.028 GB, free: 404 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3644, allocations: 0 / 1.028 GB, free: 404 kB / 0.795 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.3644, allocations: 0 / 1.028 GB, free: 404 kB / 0.795 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.0005006/0.3649, allocations: 335.6 kB / 1.029 GB, free: 16 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.365, allocations: 8.031 kB / 1.029 GB, free: 8 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.321e-05/0.365, allocations: 8.922 kB / 1.029 GB, free: 16 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.3652, allocations: 168.3 kB / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.3652, allocations: 4.312 kB / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.987e-06/0.3652, allocations: 384 / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/0.3654, allocations: 50.23 kB / 1.029 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.3654, allocations: 4.188 kB / 1.029 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.3654, allocations: 7.938 kB / 1.029 GB, free: 15.72 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.3654, allocations: 0 / 1.029 GB, free: 15.72 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001536/0.3656, allocations: 31.95 kB / 1.029 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003432/0.3659, allocations: 245 kB / 1.029 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001263/0.3661, allocations: 42.44 kB / 1.029 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.3662, allocations: 28.89 kB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 4.582e-05/0.3662, allocations: 3.984 kB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.3663, allocations: 30.56 kB / 1.029 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.3663, allocations: 0 / 1.029 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003363/0.3666, allocations: 85.64 kB / 1.029 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/0.3667, allocations: 55.34 kB / 1.029 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.033e-05/0.3668, allocations: 97.86 kB / 1.029 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.3668, allocations: 29.7 kB / 1.029 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.616e-05/0.3668, allocations: 80.14 kB / 1.03 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.808e-05/0.3669, allocations: 11.83 kB / 1.03 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.341e-05/0.3669, allocations: 17.72 kB / 1.03 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.367, allocations: 315 kB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.298e-05/0.3671, allocations: 11.98 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.588e-05/0.3672, allocations: 23.97 kB / 1.03 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.3673, allocations: 32.83 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3673, allocations: 0 / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001808/0.3675, allocations: 81.5 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.573e-05/0.3676, allocations: 4 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.3676, allocations: 3.938 kB / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.3676, allocations: 4 kB / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.641e-05/0.3677, allocations: 7.984 kB / 1.03 GB, free: 14.37 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.3677, allocations: 0 / 1.03 GB, free: 14.37 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.283e-05/0.3677, allocations: 4 kB / 1.03 GB, free: 14.37 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.3677, allocations: 0 / 1.03 GB, free: 14.37 MB / 0.8106 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 7.972e-05/0.3678, allocations: 125.8 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.145e-05/0.3679, allocations: 0 / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002075/0.3681, allocations: 72.77 kB / 1.03 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.3681, allocations: 4 kB / 1.03 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3681, allocations: 0 / 1.03 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3681, allocations: 0 / 1.03 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001511/0.3683, allocations: 157.6 kB / 1.03 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.3683, allocations: 4.031 kB / 1.03 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.425e-05/0.3683, allocations: 11.92 kB / 1.03 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3683, allocations: 4 kB / 1.03 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.3683, allocations: 0 / 1.03 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.3683, allocations: 0 / 1.03 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3684, allocations: 0 / 1.03 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000214/0.3686, allocations: 163.5 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.737e-05/0.3686, allocations: 85.02 kB / 1.031 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.3686, allocations: 4 kB / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.047e-05/0.3687, allocations: 7.984 kB / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.459e-05/0.3688, allocations: 4 kB / 1.031 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.257e-06/0.3688, allocations: 0 / 1.031 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.131e-05/0.3688, allocations: 83.27 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3688, allocations: 0 / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002028/0.369, allocations: 0 / 1.031 GB, free: 13.55 MB / 0.8106 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.0001499/0.3692, allocations: 111.2 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001879/0.3694, allocations: 35.95 kB / 1.031 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.3694, allocations: 0 / 1.031 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.368e-05/0.3695, allocations: 15.98 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002459/0.3697, allocations: 19.81 kB / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002727/0.37, allocations: 105.7 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002951/0.3703, allocations: 0.6768 MB / 1.032 GB, free: 12.53 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.246e-05/0.3703, allocations: 0 / 1.032 GB, free: 12.53 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.321e-05/0.3704, allocations: 11.38 kB / 1.032 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of SimCode: time 1.823e-06/0.3704, allocations: 0 / 1.032 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of Templates: time 0.002395/0.3728, allocations: 441.1 kB / 1.032 GB, free: 12.1 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Log10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches