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.444/1.444, allocations: 249.5 MB / 257 MB, free: 6.953 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.001084/0.001083, allocations: 184.9 kB / 316.3 MB, free: 3.285 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.554/1.554, allocations: 205.3 MB / 0.5671 GB, free: 15.9 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.0007965/0.0007965, allocations: 94.28 kB / 0.6714 GB, free: 5.012 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.82e-05/1.821e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1832/0.1832, allocations: 106.3 MB / 0.8853 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6645/0.8478, allocations: 131.6 MB / 1.014 GB, free: 6.098 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001762/0.848, allocations: 70.77 kB / 1.014 GB, free: 6.059 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001554/0.8496, allocations: 0.656 MB / 1.015 GB, free: 5.457 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.243e-06/0.8496, allocations: 0 / 1.015 GB, free: 5.457 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.8496, allocations: 4 kB / 1.015 GB, free: 5.453 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.0003334/0.8499, allocations: 330.5 kB / 1.015 GB, free: 5.086 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.85, allocations: 8.031 kB / 1.015 GB, free: 5.078 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.511e-05/0.85, allocations: 4 kB / 1.015 GB, free: 5.074 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.8501, allocations: 171 kB / 1.015 GB, free: 4.867 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.8502, allocations: 0 / 1.015 GB, free: 4.867 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.925e-06/0.8502, allocations: 0 / 1.015 GB, free: 4.867 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.737e-05/0.8502, allocations: 15.62 kB / 1.015 GB, free: 4.855 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.938e-05/0.8503, allocations: 37.62 kB / 1.015 GB, free: 4.816 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.8503, allocations: 0 / 1.015 GB, free: 4.816 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.786e-06/0.8504, allocations: 0 / 1.015 GB, free: 4.816 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.8504, allocations: 0 / 1.015 GB, free: 4.816 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003819/0.8507, allocations: 252.4 kB / 1.015 GB, free: 4.543 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.876e-05/0.8508, allocations: 30.45 kB / 1.015 GB, free: 4.508 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.007e-05/0.8508, allocations: 4.859 kB / 1.015 GB, free: 4.5 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.8509, allocations: 8.094 kB / 1.015 GB, free: 4.492 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.724e-05/0.8509, allocations: 34.25 kB / 1.015 GB, free: 4.453 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.224e-06/0.8509, allocations: 0 / 1.015 GB, free: 4.453 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001269/0.851, allocations: 40.98 kB / 1.015 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.018e-05/0.8511, allocations: 59.31 kB / 1.015 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.77e-05/0.8511, allocations: 89 kB / 1.016 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.8511, allocations: 25.7 kB / 1.016 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.231e-05/0.8512, allocations: 87.81 kB / 1.016 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.346e-05/0.8512, allocations: 7.906 kB / 1.016 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.406e-06/0.8512, allocations: 0 / 1.016 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.374e-05/0.8513, allocations: 314.8 kB / 1.016 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.35e-05/0.8513, allocations: 15.81 kB / 1.016 GB, free: 3.797 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.947e-06/0.8514, allocations: 4 kB / 1.016 GB, free: 3.793 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.671e-05/0.8514, allocations: 4 kB / 1.016 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.8514, allocations: 0 / 1.016 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.966e-05/0.8514, allocations: 45.5 kB / 1.016 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.878e-06/0.8515, allocations: 4 kB / 1.016 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.8515, allocations: 0 / 1.016 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.8515, allocations: 0 / 1.016 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.283e-05/0.8516, allocations: 11.98 kB / 1.016 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.566e-06/0.8516, allocations: 96 / 1.016 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.163e-05/0.8517, allocations: 12 kB / 1.016 GB, free: 3.715 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.8517, allocations: 0 / 1.016 GB, free: 3.715 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 5.884e-05/0.8517, allocations: 104.9 kB / 1.016 GB, free: 3.605 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.194e-05/0.8518, allocations: 4 kB / 1.016 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.301e-05/0.8519, allocations: 57.02 kB / 1.016 GB, free: 3.543 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.8519, allocations: 0 / 1.016 GB, free: 3.543 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.8519, allocations: 3.938 kB / 1.016 GB, free: 3.539 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.8519, allocations: 4.031 kB / 1.016 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001181/0.852, allocations: 134.2 kB / 1.016 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.852, allocations: 3.953 kB / 1.016 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.493e-05/0.8521, allocations: 15.8 kB / 1.016 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.8521, allocations: 0 / 1.016 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.8521, allocations: 4 kB / 1.016 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.8521, allocations: 0 / 1.016 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.8521, allocations: 0 / 1.016 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.12e-05/0.8522, allocations: 139 kB / 1.017 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.765e-05/0.8523, allocations: 89.05 kB / 1.017 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.168e-05/0.8523, allocations: 0 / 1.017 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.907e-05/0.8524, allocations: 4 kB / 1.017 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.472e-05/0.8524, allocations: 8.172 kB / 1.017 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.8524, allocations: 0 / 1.017 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.293e-05/0.8525, allocations: 87.2 kB / 1.017 GB, free: 3 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8525, allocations: 4.031 kB / 1.017 GB, free: 2.996 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000201/0.8527, allocations: 0 / 1.017 GB, free: 2.996 MB / 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.0001113/0.8528, allocations: 99.25 kB / 1.017 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.287e-05/0.8528, allocations: 11.94 kB / 1.017 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.8529, allocations: 0 / 1.017 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.841e-05/0.8529, allocations: 4 kB / 1.017 GB, free: 2.879 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001632/0.853, allocations: 4 kB / 1.017 GB, free: 2.875 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001721/0.8532, allocations: 75.75 kB / 1.017 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002034/0.8534, allocations: 0.6768 MB / 1.018 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.248e-05/0.8535, allocations: 4 kB / 1.018 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.134e-05/0.8535, allocations: 7.438 kB / 1.018 GB, free: 2.066 MB / 0.6355 GB Notification: Performance of SimCode: time 1.904e-06/0.8535, allocations: 0 / 1.018 GB, free: 2.066 MB / 0.6355 GB Notification: Performance of Templates: time 0.00185/0.8554, allocations: 343.2 kB / 1.018 GB, free: 1.75 MB / 0.6355 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