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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Log10,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Log10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Log10,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Log10",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001223/0.001223, allocations: 196 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.235/1.235, allocations: 222.9 MB / 239.8 MB, free: 4.625 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.369/2.369, allocations: 437 MB / 0.71 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 63.91 kB / 0.8687 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5625/0.564, allocations: 151.6 MB / 1.017 GB, free: 2.793 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log10): time 0.001801/0.5658, allocations: 0.7373 MB / 1.017 GB, free: 2.059 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007752/0.5666, allocations: 0.804 MB / 1.018 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.956e-05/0.5667, allocations: 0 / 1.018 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.899e-05/0.5667, allocations: 0 / 1.018 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.705e-05/0.5668, allocations: 0 / 1.018 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001126/0.5669, allocations: 4 kB / 1.018 GB, free: 1.238 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.52e-05/0.567, allocations: 27.92 kB / 1.018 GB, free: 1.211 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.522e-05/0.567, allocations: 0 / 1.018 GB, free: 1.211 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.018e-05/0.5671, allocations: 15.92 kB / 1.018 GB, free: 1.195 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.344e-05/0.5671, allocations: 7.938 kB / 1.018 GB, free: 1.188 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.345e-05/0.5671, allocations: 4 kB / 1.018 GB, free: 1.184 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.528e-06/0.5672, allocations: 4 kB / 1.018 GB, free: 1.18 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.848e-05/0.5672, allocations: 7.984 kB / 1.018 GB, free: 1.172 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.341e-05/0.5672, allocations: 7.922 kB / 1.018 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 6.116e-05/0.5673, allocations: 19.97 kB / 1.018 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.5673, allocations: 3.938 kB / 1.018 GB, free: 1.141 MB / 0.7637 GB Notification: Performance of FrontEnd: time 8.82e-07/0.5673, allocations: 0 / 1.018 GB, free: 1.141 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.046e-06/0.5673, allocations: 4 kB / 1.018 GB, free: 1.137 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.0003758/0.5677, allocations: 337.8 kB / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.5677, allocations: 8.031 kB / 1.019 GB, free: 0.75 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.036e-05/0.5678, allocations: 34.69 kB / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.505e-05/0.5678, allocations: 8.844 kB / 1.019 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.304e-05/0.5679, allocations: 164.4 kB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.5679, allocations: 4.375 kB / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.214e-05/0.5679, allocations: 4.375 kB / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001667/0.5681, allocations: 50.17 kB / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.5681, allocations: 3.938 kB / 1.019 GB, free: 444 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.5681, allocations: 4 kB / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.5681, allocations: 4 kB / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000152/0.5683, allocations: 27.97 kB / 1.019 GB, free: 408 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002841/0.5686, allocations: 248.9 kB / 1.019 GB, free: 108 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001114/0.5687, allocations: 38.5 kB / 1.019 GB, free: 60 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.66e-05/0.5688, allocations: 24.91 kB / 1.019 GB, free: 32 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.5688, allocations: 0 / 1.019 GB, free: 32 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.66e-05/0.5688, allocations: 34.61 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.5689, allocations: 0 / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003296/0.5692, allocations: 81.62 kB / 1.019 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/0.5692, allocations: 59.42 kB / 1.019 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.174e-05/0.5693, allocations: 101.9 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/0.5693, allocations: 25.7 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.352e-05/0.5694, allocations: 80.14 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.759e-05/0.5694, allocations: 11.84 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-05/0.5694, allocations: 17.7 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.634e-05/0.5695, allocations: 310.8 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.761e-05/0.5696, allocations: 19.98 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.553e-05/0.5697, allocations: 15.98 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001348/0.5698, allocations: 36.81 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.5698, allocations: 3.938 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001818/0.57, allocations: 77.58 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.57, allocations: 4 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.57, allocations: 4.172 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.909e-06/0.5701, allocations: 4 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.367e-05/0.5701, allocations: 4 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.5702, allocations: 0 / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.755e-05/0.5702, allocations: 11.97 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.5702, allocations: 0 / 1.02 GB, free: 15.07 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 6.711e-05/0.5703, allocations: 118.3 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.282e-05/0.5703, allocations: 3.938 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002132/0.5705, allocations: 72.72 kB / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.5706, allocations: 7.984 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.5706, allocations: 0 / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.5706, allocations: 3.938 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001329/0.5707, allocations: 157.6 kB / 1.02 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.5707, allocations: 4 kB / 1.02 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.833e-05/0.5708, allocations: 16.02 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.5708, allocations: 0 / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.124e-06/0.5708, allocations: 0 / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.5708, allocations: 0 / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.5708, allocations: 0 / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002166/0.571, allocations: 163.5 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.738e-05/0.5711, allocations: 81.14 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.103e-05/0.5711, allocations: 0 / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.494e-05/0.5712, allocations: 7.984 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.608e-05/0.5712, allocations: 7.938 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.5712, allocations: 0 / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.21e-05/0.5712, allocations: 83.27 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5713, allocations: 0 / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002058/0.5715, allocations: 8 kB / 1.021 GB, free: 14.25 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.0004794/0.5719, allocations: 0.6967 MB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001845/0.5721, allocations: 35.97 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.5722, allocations: 4.094 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.836e-05/0.5722, allocations: 19.91 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002687/0.5725, allocations: 10.19 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003517/0.5729, allocations: 133.1 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001812/0.5731, allocations: 0.677 MB / 1.022 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.13e-05/0.5731, allocations: 4.062 kB / 1.022 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.096e-05/0.5731, allocations: 11.44 kB / 1.022 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of SimCode: time 4.01e-07/0.5731, allocations: 0 / 1.022 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009803/0.5829, allocations: 1.07 MB / 1.023 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002199/0.5832, allocations: 199.5 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.51/2.093, allocations: 3.938 kB / 1.024 GB, free: 11.33 MB / 0.7794 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log10_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Log10_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Log10.fmu > 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/jenkins1/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