Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001955/0.001955, allocations: 79.7 kB / 20.23 MB, free: 4.191 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002032/0.002032, allocations: 157.3 kB / 23.55 MB, free: 0.8789 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.592/1.592, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.029/3.029, allocations: 377.8 MB / 0.6232 GB, free: 8.527 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Log10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|log10_1.u|log10_1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log10") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Log10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|log10_1.u|log10_1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log10") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.564e-06/2.564e-06, allocations: 0 / 0.8109 GB, free: 2.012 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.021e-05/3.277e-05, allocations: 7.016 kB / 0.8109 GB, free: 2.004 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log10): time 0.001935/0.001968, allocations: 0.6662 MB / 0.8115 GB, free: 1.359 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001236/0.003204, allocations: 0.8393 MB / 0.8123 GB, free: 0.5078 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.448e-05/0.003238, allocations: 4.781 kB / 0.8124 GB, free: 0.5039 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.221e-05/0.00326, allocations: 0 / 0.8124 GB, free: 0.5039 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 7.687e-05/0.003337, allocations: 17.55 kB / 0.8124 GB, free: 500 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001879/0.003525, allocations: 11.98 kB / 0.8124 GB, free: 488 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 8.136e-05/0.003607, allocations: 19.92 kB / 0.8124 GB, free: 468 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 9.249e-05/0.003699, allocations: 4 kB / 0.8124 GB, free: 464 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.003805, allocations: 17.52 kB / 0.8124 GB, free: 448 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.875e-05/0.003844, allocations: 3.984 kB / 0.8124 GB, free: 444 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.254e-05/0.003867, allocations: 4 kB / 0.8124 GB, free: 440 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 5.082e-05/0.003917, allocations: 8 kB / 0.8124 GB, free: 432 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.25e-05/0.00394, allocations: 4.969 kB / 0.8124 GB, free: 428 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.33e-05/0.003963, allocations: 7.984 kB / 0.8124 GB, free: 420 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001077/0.004071, allocations: 27.89 kB / 0.8125 GB, free: 392 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.004074, allocations: 0.5 kB / 0.8125 GB, free: 392 kB / 0.7605 GB Notification: Performance of FrontEnd: time 1.072e-06/0.004075, allocations: 1.594 kB / 0.8125 GB, free: 392 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.566e-06/0.004078, allocations: 0 / 0.8125 GB, free: 392 kB / 0.7605 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.000521/0.004599, allocations: 352.4 kB / 0.8128 GB, free: 0 / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 6.457e-05/0.004664, allocations: 12.08 kB / 0.8128 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000136/0.0048, allocations: 13.42 kB / 0.8128 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.004926, allocations: 117.2 kB / 0.8129 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.004939, allocations: 384 / 0.813 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.069e-05/0.00495, allocations: 4.906 kB / 0.813 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.005103, allocations: 43.88 kB / 0.813 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.005112, allocations: 4.125 kB / 0.813 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.005121, allocations: 384 / 0.813 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.005125, allocations: 384 / 0.813 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001195/0.005245, allocations: 24.55 kB / 0.813 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004108/0.005655, allocations: 259.7 kB / 0.8133 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001168/0.005772, allocations: 35.75 kB / 0.8133 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.012e-05/0.005842, allocations: 20.42 kB / 0.8133 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.183e-05/0.005864, allocations: 0.9062 kB / 0.8133 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.622e-05/0.005901, allocations: 37.39 kB / 0.8134 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.005901, allocations: 1.375 kB / 0.8134 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.000296/0.006197, allocations: 77.5 kB / 0.8134 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/0.006245, allocations: 53.16 kB / 0.8135 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.006381, allocations: 161.9 kB / 0.8136 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.822e-05/0.006409, allocations: 25.7 kB / 0.8137 GB, free: 15 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.918e-05/0.006498, allocations: 130.9 kB / 0.8138 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.131e-05/0.00652, allocations: 7.953 kB / 0.8138 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.6e-05/0.006566, allocations: 21.59 kB / 0.8138 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002911/0.006857, allocations: 492.1 kB / 0.8143 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.548e-05/0.006922, allocations: 15.98 kB / 0.8143 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.237e-05/0.006965, allocations: 4 kB / 0.8143 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001127/0.007077, allocations: 34.73 kB / 0.8143 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.007079, allocations: 0 / 0.8143 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001548/0.007234, allocations: 61.61 kB / 0.8144 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.007252, allocations: 8 kB / 0.8144 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.007258, allocations: 3.938 kB / 0.8144 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.007272, allocations: 0 / 0.8144 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.307e-05/0.007345, allocations: 5.312 kB / 0.8144 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.007349, allocations: 0 / 0.8144 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.658e-05/0.007386, allocations: 7.984 kB / 0.8144 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.169e-06/0.007391, allocations: 0.625 kB / 0.8144 GB, free: 14.2 MB / 0.7761 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.0001425/0.007533, allocations: 157.1 kB / 0.8146 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.311e-05/0.007557, allocations: 0 / 0.8146 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001946/0.007751, allocations: 65.7 kB / 0.8146 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.007753, allocations: 5.281 kB / 0.8146 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.007756, allocations: 0 / 0.8146 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.007761, allocations: 7.984 kB / 0.8147 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/0.007926, allocations: 123.1 kB / 0.8148 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.007928, allocations: 0 / 0.8148 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.402e-05/0.007972, allocations: 4 kB / 0.8148 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.007973, allocations: 0 / 0.8148 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.00798, allocations: 0 / 0.8148 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.578e-06/0.007984, allocations: 3.938 kB / 0.8148 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.007987, allocations: 8 kB / 0.8148 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002566/0.008244, allocations: 205.6 kB / 0.815 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.851e-06/0.00825, allocations: 0 / 0.815 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.08e-05/0.008261, allocations: 0 / 0.815 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.564e-05/0.008326, allocations: 13.16 kB / 0.815 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.714e-05/0.008363, allocations: 3.984 kB / 0.815 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.227e-06/0.008367, allocations: 0 / 0.815 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.655e-05/0.008453, allocations: 128 kB / 0.8151 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.008453, allocations: 0 / 0.8151 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002068/0.00866, allocations: 4 kB / 0.8151 GB, free: 13.42 MB / 0.7761 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.0001328/0.008793, allocations: 97.16 kB / 0.8152 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001713/0.008964, allocations: 39.66 kB / 0.8153 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.008966, allocations: 1.031 kB / 0.8153 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.645e-05/0.009032, allocations: 15.69 kB / 0.8153 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002396/0.009272, allocations: 6.625 kB / 0.8153 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003335/0.009606, allocations: 123.6 kB / 0.8154 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.91e-05/0.009685, allocations: 67.14 kB / 0.8155 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.358e-05/0.009708, allocations: 0.9688 kB / 0.8155 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.559e-05/0.009744, allocations: 12.5 kB / 0.8155 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of SimCode: time 4.3e-07/0.009744, allocations: 0.6562 kB / 0.8155 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of Templates: time 0.003324/0.01307, allocations: 484 kB / 0.8159 GB, free: 12.55 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log10 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log10_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Log10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.133897164021619]