Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.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.Log,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Log",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Log,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Log",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.001264/0.001264, 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.001493/0.001493, allocations: 193.1 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.234/1.234, allocations: 222.9 MB / 239.8 MB, free: 4.523 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.387/2.387, allocations: 437 MB / 0.7099 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 71.91 kB / 0.8687 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5521/0.5535, allocations: 151.6 MB / 1.017 GB, free: 2.773 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.001678/0.5552, allocations: 0.7241 MB / 1.017 GB, free: 2.051 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0006972/0.5559, allocations: 0.8001 MB / 1.018 GB, free: 1.238 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.701e-05/0.556, allocations: 0 / 1.018 GB, free: 1.238 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.767e-05/0.556, allocations: 3.938 kB / 1.018 GB, free: 1.234 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 2.458e-05/0.556, allocations: 0 / 1.018 GB, free: 1.234 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 7.319e-05/0.5561, allocations: 15.92 kB / 1.018 GB, free: 1.219 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 3.561e-05/0.5562, allocations: 23.94 kB / 1.018 GB, free: 1.195 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.909e-05/0.5562, allocations: 7.922 kB / 1.018 GB, free: 1.188 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.435e-05/0.5562, allocations: 7.984 kB / 1.018 GB, free: 1.18 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 2.095e-05/0.5563, allocations: 15.92 kB / 1.018 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 7.484e-06/0.5563, allocations: 0 / 1.018 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 6.943e-06/0.5563, allocations: 4 kB / 1.018 GB, free: 1.16 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 7.424e-06/0.5563, allocations: 0 / 1.018 GB, free: 1.16 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.454e-05/0.5563, allocations: 7.938 kB / 1.018 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 3.684e-05/0.5564, allocations: 19.97 kB / 1.018 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.5564, allocations: 4 kB / 1.018 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of FrontEnd: time 5.21e-07/0.5564, allocations: 4 kB / 1.018 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 2.164e-06/0.5564, allocations: 0 / 1.018 GB, free: 1.125 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.0003303/0.5567, allocations: 333.8 kB / 1.019 GB, free: 0.75 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.5567, allocations: 8.031 kB / 1.019 GB, free: 0.7422 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.298e-05/0.5568, allocations: 34.73 kB / 1.019 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.241e-05/0.5568, allocations: 8.844 kB / 1.019 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.128e-05/0.5569, allocations: 160.4 kB / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.5569, allocations: 8.312 kB / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.656e-06/0.5569, allocations: 8.312 kB / 1.019 GB, free: 492 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.5571, allocations: 46.23 kB / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.663e-06/0.5571, allocations: 7.938 kB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.735e-06/0.5571, allocations: 3.984 kB / 1.019 GB, free: 428 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-06/0.5571, allocations: 0 / 1.019 GB, free: 428 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001522/0.5573, allocations: 35.95 kB / 1.019 GB, free: 392 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002473/0.5575, allocations: 253 kB / 1.019 GB, free: 88 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/0.5577, allocations: 42.44 kB / 1.019 GB, free: 36 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.386e-05/0.5577, allocations: 24.89 kB / 1.019 GB, free: 8 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/0.5578, allocations: 0 / 1.019 GB, free: 8 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.5578, allocations: 34.56 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.5578, allocations: 0 / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003052/0.5581, allocations: 81.64 kB / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.708e-05/0.5582, allocations: 55.34 kB / 1.019 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.199e-05/0.5582, allocations: 101.9 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.5582, allocations: 25.7 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.018e-05/0.5583, allocations: 84.27 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.581e-05/0.5583, allocations: 11.83 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.145e-05/0.5583, allocations: 17.72 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 7.775e-05/0.5584, allocations: 310.8 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.442e-05/0.5585, allocations: 11.98 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.706e-05/0.5586, allocations: 19.98 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001418/0.5587, allocations: 40.88 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.5587, allocations: 7.875 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001728/0.5589, allocations: 69.56 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.5589, allocations: 7.938 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.5589, allocations: 4 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.307e-06/0.5589, allocations: 0 / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.148e-05/0.559, allocations: 4 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.559, allocations: 4.031 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.42e-05/0.5591, allocations: 7.984 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/0.5591, allocations: 4 kB / 1.02 GB, free: 15.05 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.054e-05/0.5592, allocations: 114.3 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.238e-05/0.5592, allocations: 0 / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002031/0.5594, allocations: 76.77 kB / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.5594, allocations: 4.031 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.5594, allocations: 3.938 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-06/0.5594, allocations: 0 / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001313/0.5596, allocations: 157.6 kB / 1.02 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-06/0.5596, allocations: 0 / 1.02 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.862e-05/0.5596, allocations: 15.92 kB / 1.02 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.5596, allocations: 0 / 1.02 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.67e-06/0.5597, allocations: 0 / 1.02 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.5597, allocations: 0 / 1.02 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.5597, allocations: 0 / 1.02 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002052/0.5599, allocations: 163.5 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.976e-05/0.5599, allocations: 77.11 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.169e-05/0.5599, allocations: 4 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.307e-05/0.56, allocations: 7.984 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.63e-05/0.56, allocations: 4 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.56, allocations: 8.031 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.9e-05/0.5601, allocations: 83.27 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.5601, allocations: 0 / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002014/0.5603, allocations: 4 kB / 1.021 GB, free: 14.24 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.0004352/0.5607, allocations: 0.7006 MB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000171/0.5609, allocations: 35.97 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.5609, allocations: 0 / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.8e-05/0.561, allocations: 23.91 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002446/0.5613, allocations: 6.672 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003228/0.5616, allocations: 141.3 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001845/0.5618, allocations: 0.677 MB / 1.022 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.189e-05/0.5618, allocations: 8.266 kB / 1.022 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.885e-05/0.5619, allocations: 7.438 kB / 1.022 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.5619, allocations: 0 / 1.022 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.008985/0.5708, allocations: 1.064 MB / 1.023 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001947/0.5711, allocations: 198.4 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.568/2.14, allocations: 4 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Log_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Log.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Log.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches