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.001413/0.001413, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001761/0.00176, allocations: 193.7 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.145/2.145, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.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.747/2.747, allocations: 437 MB / 0.71 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 68.14 kB / 0.8687 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6489/0.6504, allocations: 151.6 MB / 1.017 GB, free: 2.871 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log10): time 0.002027/0.6525, allocations: 0.7433 MB / 1.018 GB, free: 2.129 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009566/0.6535, allocations: 0.7923 MB / 1.018 GB, free: 1.324 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.371e-05/0.6536, allocations: 4 kB / 1.018 GB, free: 1.32 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.155e-05/0.6536, allocations: 0 / 1.018 GB, free: 1.32 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.952e-05/0.6537, allocations: 3.938 kB / 1.018 GB, free: 1.316 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001376/0.6538, allocations: 7.984 kB / 1.018 GB, free: 1.309 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.191e-05/0.6539, allocations: 27.92 kB / 1.018 GB, free: 1.281 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.995e-05/0.654, allocations: 0 / 1.018 GB, free: 1.281 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.318e-05/0.6541, allocations: 19.92 kB / 1.018 GB, free: 1.262 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.769e-05/0.6541, allocations: 8 kB / 1.018 GB, free: 1.254 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.6541, allocations: 4 kB / 1.018 GB, free: 1.25 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.568e-06/0.6542, allocations: 0 / 1.018 GB, free: 1.25 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.732e-05/0.6542, allocations: 7.922 kB / 1.018 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.712e-05/0.6542, allocations: 8 kB / 1.018 GB, free: 1.234 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.407e-05/0.6543, allocations: 27.89 kB / 1.018 GB, free: 1.207 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.6543, allocations: 0 / 1.018 GB, free: 1.207 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.784e-06/0.6543, allocations: 0 / 1.018 GB, free: 1.207 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 8.796e-06/0.6543, allocations: 0 / 1.018 GB, free: 1.207 MB / 0.7637 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.000446/0.6548, allocations: 337.4 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.307e-05/0.6548, allocations: 12.03 kB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.173e-05/0.6549, allocations: 0.9375 kB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.655, allocations: 168.3 kB / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.307e-06/0.655, allocations: 4.375 kB / 1.019 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.207e-05/0.655, allocations: 384 / 1.019 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001841/0.6552, allocations: 54.17 kB / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.6553, allocations: 192 / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.6553, allocations: 11.88 kB / 1.019 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.6553, allocations: 0 / 1.019 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001695/0.6555, allocations: 31.97 kB / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003431/0.6558, allocations: 249 kB / 1.019 GB, free: 220 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001266/0.6559, allocations: 38.5 kB / 1.019 GB, free: 172 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001092/0.6561, allocations: 24.84 kB / 1.019 GB, free: 144 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.6561, allocations: 0 / 1.019 GB, free: 144 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.6561, allocations: 34.56 kB / 1.019 GB, free: 100 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 1.333e-06/0.6561, allocations: 3.938 kB / 1.019 GB, free: 96 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.0004734/0.6566, allocations: 81.73 kB / 1.019 GB, free: 8 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.71e-05/0.6567, allocations: 55.41 kB / 1.019 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.586e-05/0.6568, allocations: 101.8 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.836e-05/0.6568, allocations: 25.7 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.414e-05/0.6569, allocations: 80.14 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.054e-05/0.6569, allocations: 7.844 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.898e-05/0.657, allocations: 17.72 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.6571, allocations: 314.8 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.6572, allocations: 27.95 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.993e-05/0.6574, allocations: 11.98 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002077/0.6576, allocations: 40.81 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.6576, allocations: 0 / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002828/0.6579, allocations: 65.67 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.6579, allocations: 9.406 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.6579, allocations: 0 / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.6579, allocations: 4 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.658, allocations: 7.984 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.6581, allocations: 0 / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.079e-05/0.6581, allocations: 11.98 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.6582, allocations: 7.938 kB / 1.02 GB, free: 15.18 MB / 0.7794 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.513e-05/0.6583, allocations: 113.8 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.265e-05/0.6583, allocations: 3.906 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002928/0.6586, allocations: 72.78 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.6586, allocations: 192 / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.6586, allocations: 0 / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/0.6586, allocations: 3.984 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001681/0.6588, allocations: 161.6 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.108e-05/0.6588, allocations: 0 / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.372e-05/0.6589, allocations: 16.02 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.6589, allocations: 0 / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.6589, allocations: 0 / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.6589, allocations: 0 / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.6589, allocations: 0 / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002574/0.6592, allocations: 175.3 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.461e-05/0.6593, allocations: 77.11 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/0.6593, allocations: 7.938 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.652e-05/0.6594, allocations: 3.984 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.735e-05/0.6594, allocations: 4 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.6594, allocations: 0 / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.941e-05/0.6595, allocations: 79.28 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6595, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002153/0.6597, allocations: 4 kB / 1.021 GB, free: 14.37 MB / 0.7794 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.0001392/0.6598, allocations: 111.2 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002042/0.66, allocations: 39.91 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.66, allocations: 0 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.81e-05/0.6601, allocations: 15.98 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002775/0.6604, allocations: 15.86 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002746/0.6607, allocations: 113.6 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002374/0.6609, allocations: 0.6729 MB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.192e-05/0.661, allocations: 0 / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.62e-05/0.661, allocations: 11.44 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of SimCode: time 3e-07/0.661, allocations: 0 / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of Templates: time 0.002347/0.6634, allocations: 385.3 kB / 1.022 GB, free: 12.96 MB / 0.7794 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