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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001496/0.001496, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001894/0.001894, allocations: 196.5 kB / 16.53 MB, free: 6.664 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.469/1.469, allocations: 222.9 MB / 240.2 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.006/3.006, allocations: 472.7 MB / 0.7452 GB, free: 4.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 63.42 kB / 0.9121 GB, free: 33.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4077/0.4091, allocations: 159.9 MB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log10): time 0.002284/0.4114, allocations: 0.6613 MB / 1.069 GB, free: 9.68 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009968/0.4125, allocations: 0.81 MB / 1.07 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.823e-05/0.4125, allocations: 0 / 1.07 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.199e-05/0.4125, allocations: 3.938 kB / 1.07 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.627e-05/0.4126, allocations: 7.984 kB / 1.07 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000157/0.4128, allocations: 11.94 kB / 1.07 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.272e-05/0.4129, allocations: 23.97 kB / 1.07 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.413, allocations: 8 kB / 1.07 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.582e-05/0.4131, allocations: 11.92 kB / 1.07 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.667e-05/0.4131, allocations: 8 kB / 1.07 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.4131, allocations: 0 / 1.07 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.394e-05/0.4132, allocations: 4 kB / 1.07 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.19e-05/0.4132, allocations: 11.92 kB / 1.07 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.202e-05/0.4132, allocations: 7.875 kB / 1.07 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.089e-05/0.4133, allocations: 27.95 kB / 1.07 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.4133, allocations: 0 / 1.07 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.763e-06/0.4133, allocations: 4 kB / 1.07 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.367e-06/0.4133, allocations: 0 / 1.07 GB, free: 8.73 MB / 0.8262 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.0004952/0.4138, allocations: 331.8 kB / 1.07 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.768e-05/0.4139, allocations: 8.031 kB / 1.07 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.385e-05/0.414, allocations: 8.938 kB / 1.07 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.4141, allocations: 168.3 kB / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.4141, allocations: 4.375 kB / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.291e-05/0.4141, allocations: 384 / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002134/0.4144, allocations: 46.25 kB / 1.07 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.4144, allocations: 192 / 1.07 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.4144, allocations: 7.922 kB / 1.07 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.4144, allocations: 4 kB / 1.07 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001748/0.4146, allocations: 35.84 kB / 1.07 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004143/0.415, allocations: 244.9 kB / 1.071 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001314/0.4152, allocations: 42.53 kB / 1.071 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002078/0.4154, allocations: 20.91 kB / 1.071 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.59e-05/0.4154, allocations: 0 / 1.071 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.241e-05/0.4155, allocations: 38.56 kB / 1.071 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.4155, allocations: 0 / 1.071 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003908/0.4159, allocations: 85.48 kB / 1.071 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.407e-05/0.4159, allocations: 51.41 kB / 1.071 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003041/0.4162, allocations: 101.8 kB / 1.071 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.4163, allocations: 29.7 kB / 1.071 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.902e-05/0.4163, allocations: 88.27 kB / 1.071 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.497e-05/0.4164, allocations: 3.906 kB / 1.071 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001929/0.4166, allocations: 13.72 kB / 1.071 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001781/0.4168, allocations: 318.8 kB / 1.071 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.652e-05/0.4168, allocations: 15.98 kB / 1.071 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.543e-05/0.4169, allocations: 15.98 kB / 1.071 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001621/0.4171, allocations: 44.83 kB / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.4171, allocations: 0 / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002003/0.4173, allocations: 69.59 kB / 1.072 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.176e-05/0.4174, allocations: 5.719 kB / 1.072 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.4174, allocations: 0 / 1.072 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.4174, allocations: 4 kB / 1.072 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.4175, allocations: 7.984 kB / 1.072 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.4175, allocations: 4.031 kB / 1.072 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.095e-05/0.4176, allocations: 7.984 kB / 1.072 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.752e-06/0.4176, allocations: 0 / 1.072 GB, free: 6.715 MB / 0.8262 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 0.0001092/0.4177, allocations: 114.3 kB / 1.072 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.253e-05/0.4177, allocations: 0 / 1.072 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002662/0.418, allocations: 72.72 kB / 1.072 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.418, allocations: 8.031 kB / 1.072 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.418, allocations: 0 / 1.072 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.418, allocations: 192 / 1.072 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002015/0.4182, allocations: 161.6 kB / 1.072 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.4183, allocations: 4 kB / 1.072 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.887e-05/0.4183, allocations: 7.984 kB / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.4183, allocations: 11.92 kB / 1.072 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.4183, allocations: 0 / 1.072 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.4183, allocations: 0 / 1.072 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4184, allocations: 0 / 1.072 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002792/0.4186, allocations: 175.3 kB / 1.072 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.916e-05/0.4187, allocations: 77.11 kB / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.4187, allocations: 0 / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.652e-05/0.4188, allocations: 7.984 kB / 1.072 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.707e-05/0.4189, allocations: 4 kB / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.4189, allocations: 32 / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.652e-05/0.4189, allocations: 87.28 kB / 1.072 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4189, allocations: 0 / 1.072 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002081/0.4192, allocations: 0 / 1.072 GB, free: 5.898 MB / 0.8262 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.000233/0.4194, allocations: 104.2 kB / 1.072 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002275/0.4196, allocations: 31.97 kB / 1.072 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.4196, allocations: 4.062 kB / 1.072 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.872e-05/0.4197, allocations: 23.92 kB / 1.072 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003604/0.4201, allocations: 15.86 kB / 1.072 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003556/0.4205, allocations: 105.4 kB / 1.073 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004709/0.4209, allocations: 0.6768 MB / 1.073 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.599e-05/0.421, allocations: 4.062 kB / 1.073 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.462e-05/0.421, allocations: 7.438 kB / 1.073 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.421, allocations: 0 / 1.073 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of Templates: time 0.002779/0.4238, allocations: 446.7 kB / 1.074 GB, free: 4.438 MB / 0.8262 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 -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/jenkins/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