Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001444/0.001444, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001446/0.001446, allocations: 191 kB / 16.25 MB, free: 6.637 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.502/1.502, allocations: 222.9 MB / 239.9 MB, free: 4.477 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.896/2.896, allocations: 461.9 MB / 0.7343 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001591/0.001591, allocations: 65.09 kB / 0.8986 GB, free: 37.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4096/0.4112, allocations: 157.4 MB / 1.052 GB, free: 8.75 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.002243/0.4135, allocations: 0.7222 MB / 1.053 GB, free: 8.027 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001348/0.4149, allocations: 0.804 MB / 1.054 GB, free: 7.211 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.239e-05/0.4149, allocations: 0 / 1.054 GB, free: 7.211 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.365e-05/0.415, allocations: 0 / 1.054 GB, free: 7.211 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.527e-05/0.4151, allocations: 3.938 kB / 1.054 GB, free: 7.207 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001651/0.4152, allocations: 8 kB / 1.054 GB, free: 7.199 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.321e-05/0.4153, allocations: 19.92 kB / 1.054 GB, free: 7.18 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.4154, allocations: 16 kB / 1.054 GB, free: 7.164 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.153e-05/0.4155, allocations: 15.97 kB / 1.054 GB, free: 7.148 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.15e-05/0.4156, allocations: 3.938 kB / 1.054 GB, free: 7.145 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.745e-05/0.4156, allocations: 7.938 kB / 1.054 GB, free: 7.137 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.606e-06/0.4156, allocations: 0 / 1.054 GB, free: 7.137 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.303e-05/0.4156, allocations: 7.984 kB / 1.054 GB, free: 7.129 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.179e-05/0.4157, allocations: 11.94 kB / 1.054 GB, free: 7.117 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.013e-05/0.4158, allocations: 19.97 kB / 1.054 GB, free: 7.098 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.4158, allocations: 0 / 1.054 GB, free: 7.098 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.305e-06/0.4158, allocations: 0 / 1.054 GB, free: 7.098 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.622e-06/0.4158, allocations: 4 kB / 1.054 GB, free: 7.094 MB / 0.8106 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.000561/0.4164, allocations: 335.8 kB / 1.054 GB, free: 6.715 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.4164, allocations: 8.625 kB / 1.054 GB, free: 6.707 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.422e-05/0.4164, allocations: 4.844 kB / 1.054 GB, free: 6.703 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002235/0.4167, allocations: 172.3 kB / 1.054 GB, free: 6.496 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.4167, allocations: 4.312 kB / 1.054 GB, free: 6.492 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.168e-05/0.4167, allocations: 384 / 1.054 GB, free: 6.492 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001836/0.4169, allocations: 54.23 kB / 1.054 GB, free: 6.434 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.4169, allocations: 192 / 1.054 GB, free: 6.434 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.4169, allocations: 3.938 kB / 1.054 GB, free: 6.43 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.4169, allocations: 0 / 1.054 GB, free: 6.43 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001606/0.4171, allocations: 35.91 kB / 1.055 GB, free: 6.395 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003829/0.4175, allocations: 252.9 kB / 1.055 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001392/0.4176, allocations: 42.5 kB / 1.055 GB, free: 6.047 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.989e-05/0.4178, allocations: 20.91 kB / 1.055 GB, free: 6.023 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.524e-05/0.4178, allocations: 4 kB / 1.055 GB, free: 6.02 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.4178, allocations: 30.56 kB / 1.055 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.4178, allocations: 0 / 1.055 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003574/0.4182, allocations: 89.58 kB / 1.055 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/0.4182, allocations: 51.41 kB / 1.055 GB, free: 5.824 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.775e-05/0.4183, allocations: 101.8 kB / 1.055 GB, free: 5.715 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/0.4183, allocations: 25.7 kB / 1.055 GB, free: 5.684 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.907e-05/0.4184, allocations: 84.14 kB / 1.055 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.94e-05/0.4184, allocations: 7.906 kB / 1.055 GB, free: 5.59 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.38e-05/0.4184, allocations: 9.719 kB / 1.055 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.4186, allocations: 327 kB / 1.056 GB, free: 5.246 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.036e-05/0.4187, allocations: 11.98 kB / 1.056 GB, free: 5.234 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.829e-05/0.4187, allocations: 15.98 kB / 1.056 GB, free: 5.219 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001439/0.4189, allocations: 44.75 kB / 1.056 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.4189, allocations: 0 / 1.056 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001866/0.4191, allocations: 73.58 kB / 1.056 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.4191, allocations: 4 kB / 1.056 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.4191, allocations: 0 / 1.056 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.4191, allocations: 0 / 1.056 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.275e-05/0.4192, allocations: 11.98 kB / 1.056 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.4193, allocations: 0 / 1.056 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.76e-05/0.4193, allocations: 7.984 kB / 1.056 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-06/0.4193, allocations: 4.031 kB / 1.056 GB, free: 5.066 MB / 0.8106 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 8.605e-05/0.4194, allocations: 113.8 kB / 1.056 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.526e-05/0.4194, allocations: 4 kB / 1.056 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004277/0.4199, allocations: 68.72 kB / 1.056 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.604e-06/0.4199, allocations: 3.938 kB / 1.056 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.4199, allocations: 0 / 1.056 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.4199, allocations: 0 / 1.056 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000163/0.4201, allocations: 165.6 kB / 1.056 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.4201, allocations: 4 kB / 1.056 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.834e-05/0.4201, allocations: 11.98 kB / 1.056 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.4202, allocations: 0 / 1.056 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/0.4202, allocations: 0 / 1.056 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.4202, allocations: 0 / 1.056 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4202, allocations: 4 kB / 1.056 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002339/0.4204, allocations: 167.4 kB / 1.056 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.042e-05/0.4205, allocations: 81.11 kB / 1.056 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.4205, allocations: 0 / 1.056 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.42e-05/0.4206, allocations: 11.92 kB / 1.056 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.839e-05/0.4206, allocations: 0 / 1.056 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.4206, allocations: 0 / 1.056 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.155e-05/0.4207, allocations: 83.28 kB / 1.056 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4207, allocations: 0 / 1.056 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002145/0.4209, allocations: 8.031 kB / 1.056 GB, free: 4.258 MB / 0.8106 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.0002896/0.4212, allocations: 105.3 kB / 1.056 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002097/0.4214, allocations: 31.97 kB / 1.056 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.4214, allocations: 0 / 1.056 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.226e-05/0.4215, allocations: 23.92 kB / 1.057 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000316/0.4218, allocations: 15.98 kB / 1.057 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003118/0.4221, allocations: 109.5 kB / 1.057 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002524/0.4224, allocations: 0.6729 MB / 1.057 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.504e-05/0.4224, allocations: 0 / 1.057 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.677e-05/0.4225, allocations: 11.44 kB / 1.057 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of SimCode: time 4.11e-07/0.4225, allocations: 0 / 1.057 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of Templates: time 0.0027/0.4252, allocations: 393.5 kB / 1.058 GB, free: 2.852 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Log.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches