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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001189/0.001189, allocations: 86.09 kB / 15.06 MB, free: 1.09 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.00123/0.001231, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.747/2.747, allocations: 437.7 MB / 0.7117 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004254/0.0004261, allocations: 12 kB / 0.8722 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7709/0.7714, allocations: 153.8 MB / 1.022 GB, free: 160 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log10): time 0.001094/0.7725, allocations: 394.3 kB / 1.023 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0009375/0.7735, allocations: 0.7846 MB / 1.024 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.367e-05/0.7735, allocations: 3.938 kB / 1.024 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.553e-05/0.7735, allocations: 0 / 1.024 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.616e-05/0.7736, allocations: 0 / 1.024 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001522/0.7738, allocations: 23.91 kB / 1.024 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.682e-05/0.7739, allocations: 19.94 kB / 1.024 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.933e-05/0.774, allocations: 3.984 kB / 1.024 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.465e-05/0.774, allocations: 7.938 kB / 1.024 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.524e-05/0.7741, allocations: 11.98 kB / 1.024 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.843e-05/0.7741, allocations: 0 / 1.024 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.588e-06/0.7741, allocations: 0 / 1.024 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.297e-05/0.7741, allocations: 4 kB / 1.024 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.036e-05/0.7742, allocations: 33.58 kB / 1.024 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 6.435e-05/0.7743, allocations: 19.97 kB / 1.024 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.7743, allocations: 0 / 1.024 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.415e-06/0.7743, allocations: 0 / 1.024 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.7743, allocations: 0 / 1.024 GB, free: 14.85 MB / 0.7794 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.0004701/0.7748, allocations: 337.3 kB / 1.024 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.7748, allocations: 8.031 kB / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.349e-05/0.7748, allocations: 4 kB / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.775, allocations: 159.1 kB / 1.024 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.775, allocations: 7.984 kB / 1.024 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.193e-05/0.775, allocations: 4 kB / 1.024 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001783/0.7752, allocations: 53.62 kB / 1.024 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.7752, allocations: 4 kB / 1.024 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.7752, allocations: 4 kB / 1.024 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.908e-06/0.7753, allocations: 3.984 kB / 1.024 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000164/0.7754, allocations: 47.91 kB / 1.024 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004142/0.7758, allocations: 252.8 kB / 1.025 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/0.776, allocations: 46.59 kB / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.211e-05/0.7761, allocations: 24.91 kB / 1.025 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-05/0.7761, allocations: 0 / 1.025 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/0.7761, allocations: 30.56 kB / 1.025 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 3.347e-06/0.7762, allocations: 4 kB / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003504/0.7765, allocations: 101.6 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.634e-05/0.7766, allocations: 51.53 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.781e-05/0.7766, allocations: 105.8 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.7767, allocations: 25.7 kB / 1.025 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.887e-05/0.7767, allocations: 80.14 kB / 1.025 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.522e-05/0.7767, allocations: 15.84 kB / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-06/0.7768, allocations: 3.938 kB / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.7769, allocations: 310.8 kB / 1.025 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.657e-05/0.777, allocations: 23.97 kB / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.53e-05/0.777, allocations: 23.98 kB / 1.025 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.391e-05/0.7771, allocations: 19.98 kB / 1.025 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.7771, allocations: 0 / 1.025 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000185/0.7773, allocations: 89.61 kB / 1.025 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.7773, allocations: 5.875 kB / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.7773, allocations: 0 / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.7774, allocations: 0 / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.193e-05/0.7775, allocations: 12.02 kB / 1.025 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.7775, allocations: 4 kB / 1.025 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.382e-05/0.7775, allocations: 8 kB / 1.025 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.084e-06/0.7775, allocations: 0 / 1.025 GB, free: 12.8 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.679e-05/0.7776, allocations: 117.8 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.926e-05/0.7777, allocations: 7.938 kB / 1.026 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002287/0.7779, allocations: 88.72 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.7779, allocations: 0 / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.7779, allocations: 0 / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.7779, allocations: 0 / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002089/0.7781, allocations: 157.6 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.7781, allocations: 0 / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.939e-05/0.7782, allocations: 16.02 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.7782, allocations: 7.953 kB / 1.026 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.7782, allocations: 4 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.7782, allocations: 0 / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.7782, allocations: 0 / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002403/0.7785, allocations: 171.5 kB / 1.026 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.848e-05/0.7785, allocations: 77.11 kB / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.906e-05/0.7786, allocations: 11.94 kB / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.913e-05/0.7786, allocations: 4 kB / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.779e-05/0.7787, allocations: 3.938 kB / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-06/0.7787, allocations: 7.984 kB / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.679e-05/0.7787, allocations: 87.48 kB / 1.026 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7788, allocations: 4 kB / 1.026 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000207/0.779, allocations: 0 / 1.026 GB, free: 11.95 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 (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.0001612/0.7791, allocations: 103.2 kB / 1.026 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002055/0.7793, allocations: 51.95 kB / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.7794, allocations: 0 / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.308e-05/0.7794, allocations: 19.98 kB / 1.026 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002989/0.7797, allocations: 6.109 kB / 1.026 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003099/0.7801, allocations: 112.8 kB / 1.026 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002949/0.7804, allocations: 0.677 MB / 1.027 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.558e-05/0.7804, allocations: 0 / 1.027 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.033e-05/0.7804, allocations: 11.44 kB / 1.027 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.7804, allocations: 0 / 1.027 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of Templates: time 0.002609/0.7831, allocations: 345.8 kB / 1.027 GB, free: 10.57 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