Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Log10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log10_1.u|log10_1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Log10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log10_1.u|log10_1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.445/1.445, allocations: 249.3 MB / 261.9 MB, free: 5.797 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001083/0.001083, allocations: 180.8 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.656/1.656, allocations: 205.2 MB / 0.572 GB, free: 10.64 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009972/0.0009972, allocations: 82.48 kB / 0.6764 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.249e-05/4.253e-05, allocations: 11.98 kB / 0.788 GB, free: 97.08 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.224/0.2241, allocations: 106.3 MB / 0.8918 GB, free: 6.652 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7047/0.9288, allocations: 131.3 MB / 1.02 GB, free: 3.406 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002102/0.929, allocations: 72.77 kB / 1.02 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00166/0.9307, allocations: 0.6709 MB / 1.021 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.934e-06/0.9307, allocations: 0 / 1.021 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.9307, allocations: 4 kB / 1.021 GB, free: 2.738 MB / 0.6355 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.0003064/0.9311, allocations: 330.5 kB / 1.021 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.9311, allocations: 12.02 kB / 1.021 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.589e-05/0.9311, allocations: 0 / 1.021 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.9313, allocations: 167 kB / 1.021 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.9313, allocations: 3.188 kB / 1.021 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.144e-05/0.9313, allocations: 0 / 1.021 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001137/0.9314, allocations: 37.5 kB / 1.021 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.9314, allocations: 0 / 1.021 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.9315, allocations: 4 kB / 1.021 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.9315, allocations: 4 kB / 1.021 GB, free: 2.109 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.501e-05/0.9315, allocations: 11.06 kB / 1.021 GB, free: 2.102 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003971/0.9319, allocations: 263.4 kB / 1.022 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.969e-05/0.932, allocations: 26.45 kB / 1.022 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.485e-05/0.932, allocations: 16.8 kB / 1.022 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.9321, allocations: 8.016 kB / 1.022 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/0.9321, allocations: 30.56 kB / 1.022 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.9321, allocations: 0 / 1.022 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001372/0.9322, allocations: 48.86 kB / 1.022 GB, free: 1.656 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/0.9323, allocations: 54.14 kB / 1.022 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.4e-05/0.9324, allocations: 96.48 kB / 1.022 GB, free: 1.496 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.9324, allocations: 29.73 kB / 1.022 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.925e-05/0.9324, allocations: 84.12 kB / 1.022 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.523e-05/0.9325, allocations: 7.656 kB / 1.022 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-06/0.9325, allocations: 4 kB / 1.022 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.9326, allocations: 314.8 kB / 1.022 GB, free: 1.051 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.7e-05/0.9326, allocations: 4 kB / 1.022 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.06e-05/0.9326, allocations: 3.875 kB / 1.022 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.949e-05/0.9326, allocations: 4 kB / 1.022 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.9327, allocations: 8 kB / 1.022 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.642e-05/0.9327, allocations: 49.56 kB / 1.022 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.9327, allocations: 4 kB / 1.022 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.9328, allocations: 0 / 1.022 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.9328, allocations: 0 / 1.022 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.518e-05/0.9329, allocations: 11.98 kB / 1.022 GB, free: 0.9688 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/0.9329, allocations: 4 kB / 1.022 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.942e-05/0.9329, allocations: 8.031 kB / 1.022 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.933, allocations: 0 / 1.022 GB, free: 0.957 MB / 0.6355 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.264e-05/0.933, allocations: 111.6 kB / 1.022 GB, free: 0.8438 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.092e-05/0.9331, allocations: 0 / 1.022 GB, free: 0.8438 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001243/0.9332, allocations: 53.14 kB / 1.023 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.9332, allocations: 0 / 1.023 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.9332, allocations: 7.922 kB / 1.023 GB, free: 0.7852 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.9332, allocations: 4 kB / 1.023 GB, free: 0.7812 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001419/0.9334, allocations: 161.5 kB / 1.023 GB, free: 0.5781 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.9334, allocations: 4.031 kB / 1.023 GB, free: 0.5742 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.373e-05/0.9334, allocations: 11.98 kB / 1.023 GB, free: 0.5625 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.9335, allocations: 0 / 1.023 GB, free: 0.5625 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.171e-06/0.9335, allocations: 0 / 1.023 GB, free: 0.5625 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.9335, allocations: 0 / 1.023 GB, free: 0.5625 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.9335, allocations: 0 / 1.023 GB, free: 0.5625 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001074/0.9336, allocations: 151.3 kB / 1.023 GB, free: 416 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.925e-05/0.9336, allocations: 77.11 kB / 1.023 GB, free: 320 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.9337, allocations: 4 kB / 1.023 GB, free: 316 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.754e-05/0.9337, allocations: 7.984 kB / 1.023 GB, free: 308 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.9338, allocations: 0 / 1.023 GB, free: 308 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.489e-06/0.9338, allocations: 4 kB / 1.023 GB, free: 304 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.239e-05/0.9338, allocations: 79.28 kB / 1.023 GB, free: 224 kB / 0.6355 GB Notification: Performance of sort global known variables: time 1.533e-06/0.9338, allocations: 0 / 1.023 GB, free: 224 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001975/0.934, allocations: 3.938 kB / 1.023 GB, free: 220 kB / 0.6355 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001335/0.9342, allocations: 109.8 kB / 1.023 GB, free: 108 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.709e-05/0.9343, allocations: 11.56 kB / 1.023 GB, free: 100 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.9343, allocations: 0 / 1.023 GB, free: 100 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.573e-05/0.9343, allocations: 11.98 kB / 1.023 GB, free: 88 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001615/0.9345, allocations: 6.359 kB / 1.023 GB, free: 84 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001932/0.9347, allocations: 63.8 kB / 1.023 GB, free: 4 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002168/0.9349, allocations: 0.685 MB / 1.024 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.299e-05/0.9349, allocations: 0 / 1.024 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.327e-05/0.935, allocations: 7.438 kB / 1.024 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of SimCode: time 1.613e-06/0.935, allocations: 7.875 kB / 1.024 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of Templates: time 0.001904/0.9369, allocations: 366.6 kB / 1.024 GB, free: 14.93 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_Log10.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches