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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001473/0.001473, allocations: 101.4 kB / 16.27 MB, free: 5.996 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.001483/0.001483, allocations: 186.3 kB / 17.2 MB, free: 5.605 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.347/1.347, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.64/2.64, allocations: 482.4 MB / 0.7553 GB, free: 6.984 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001843/0.001843, allocations: 68.81 kB / 0.9245 GB, free: 15.95 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7002/0.7021, allocations: 162.2 MB / 1.083 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.002307/0.7044, allocations: 0.678 MB / 1.084 GB, free: 1.211 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009951/0.7054, allocations: 0.7946 MB / 1.084 GB, free: 0.6094 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.176e-05/0.7055, allocations: 0.5625 kB / 1.084 GB, free: 0.6094 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.703e-05/0.7056, allocations: 8.531 kB / 1.084 GB, free: 0.6016 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.625e-05/0.7056, allocations: 0.6875 kB / 1.084 GB, free: 0.6016 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001527/0.7058, allocations: 13.2 kB / 1.084 GB, free: 0.5938 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.018e-05/0.7059, allocations: 27.92 kB / 1.084 GB, free: 0.5781 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.706, allocations: 3.953 kB / 1.084 GB, free: 0.5781 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.824e-05/0.7061, allocations: 13.42 kB / 1.084 GB, free: 0.5703 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.064e-05/0.7062, allocations: 13.45 kB / 1.084 GB, free: 0.5625 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.74e-05/0.7062, allocations: 5.875 kB / 1.084 GB, free: 0.5586 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.179e-05/0.7062, allocations: 2.094 kB / 1.084 GB, free: 0.5586 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.919e-05/0.7062, allocations: 2.094 kB / 1.084 GB, free: 0.5586 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.412e-05/0.7063, allocations: 14.55 kB / 1.084 GB, free: 0.5469 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.81e-05/0.7063, allocations: 16.91 kB / 1.084 GB, free: 0.543 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.7064, allocations: 4 kB / 1.084 GB, free: 0.5391 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.044e-06/0.7064, allocations: 2 kB / 1.084 GB, free: 0.5391 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.501e-06/0.7064, allocations: 0 / 1.084 GB, free: 0.5391 MB / 0.8262 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.000401/0.7068, allocations: 333.8 kB / 1.085 GB, free: 188 kB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.7068, allocations: 9 kB / 1.085 GB, free: 188 kB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.149e-05/0.7069, allocations: 3.641 kB / 1.085 GB, free: 188 kB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.707, allocations: 162.5 kB / 1.085 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.707, allocations: 1.344 kB / 1.085 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.298e-05/0.707, allocations: 1.188 kB / 1.085 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001946/0.7072, allocations: 53.97 kB / 1.085 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.7072, allocations: 192 / 1.085 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.7073, allocations: 8.672 kB / 1.085 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.7073, allocations: 1.344 kB / 1.085 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001769/0.7075, allocations: 36.41 kB / 1.085 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003656/0.7078, allocations: 249.8 kB / 1.085 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001344/0.708, allocations: 36.25 kB / 1.085 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.483e-05/0.7081, allocations: 24.06 kB / 1.085 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.7081, allocations: 0.8125 kB / 1.085 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.7081, allocations: 36.17 kB / 1.085 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 9.61e-07/0.7081, allocations: 0 / 1.085 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0003669/0.7085, allocations: 92.59 kB / 1.085 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.907e-05/0.7086, allocations: 52.84 kB / 1.086 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.427e-05/0.7087, allocations: 100.2 kB / 1.086 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.7087, allocations: 26.2 kB / 1.086 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.113e-05/0.7087, allocations: 82.48 kB / 1.086 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.918e-05/0.7088, allocations: 8.625 kB / 1.086 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.337e-05/0.7088, allocations: 20.78 kB / 1.086 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.7089, allocations: 317.3 kB / 1.086 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.423e-05/0.709, allocations: 13.88 kB / 1.086 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.041e-05/0.7091, allocations: 19.2 kB / 1.086 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001632/0.7093, allocations: 47.66 kB / 1.086 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.7093, allocations: 1.406 kB / 1.086 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001995/0.7095, allocations: 66.95 kB / 1.086 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.7095, allocations: 5 kB / 1.086 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.7095, allocations: 0 / 1.086 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.7095, allocations: 1.922 kB / 1.086 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.426e-05/0.7096, allocations: 12.81 kB / 1.086 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.7097, allocations: 0 / 1.086 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.883e-05/0.7097, allocations: 10.44 kB / 1.086 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.151e-06/0.7097, allocations: 1.781 kB / 1.086 GB, free: 14.82 MB / 0.8419 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.013e-05/0.7098, allocations: 115.2 kB / 1.086 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.216e-05/0.7098, allocations: 2.25 kB / 1.086 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002277/0.7101, allocations: 74.56 kB / 1.086 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.7101, allocations: 1.188 kB / 1.086 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.7101, allocations: 4.031 kB / 1.086 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.7101, allocations: 0.6094 kB / 1.086 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001815/0.7103, allocations: 160.1 kB / 1.087 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.7103, allocations: 3.938 kB / 1.087 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.756e-05/0.7104, allocations: 8.781 kB / 1.087 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.7104, allocations: 1.719 kB / 1.087 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.7104, allocations: 0 / 1.087 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.7104, allocations: 1.188 kB / 1.087 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.7104, allocations: 0.6094 kB / 1.087 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002461/0.7106, allocations: 169.3 kB / 1.087 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.262e-05/0.7107, allocations: 79.66 kB / 1.087 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.551e-05/0.7107, allocations: 5.125 kB / 1.087 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.499e-05/0.7108, allocations: 5.953 kB / 1.087 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.305e-05/0.7108, allocations: 3.453 kB / 1.087 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-06/0.7108, allocations: 0 / 1.087 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.157e-05/0.7109, allocations: 84.88 kB / 1.087 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7109, allocations: 0 / 1.087 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002037/0.7111, allocations: 3.219 kB / 1.087 GB, free: 14.13 MB / 0.8419 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.0001355/0.7112, allocations: 97.88 kB / 1.087 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002196/0.7115, allocations: 45.16 kB / 1.087 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.7115, allocations: 0 / 1.087 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 8.349e-05/0.7116, allocations: 23.78 kB / 1.087 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002519/0.7118, allocations: 12.19 kB / 1.087 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000286/0.7121, allocations: 129.7 kB / 1.087 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002874/0.7124, allocations: 0.6761 MB / 1.088 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.642e-05/0.7125, allocations: 9.125 kB / 1.088 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.7125, allocations: 3.938 kB / 1.088 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of Templates: time 0.001995/0.7145, allocations: 0.5372 MB / 1.088 GB, free: 13.14 MB / 0.8419 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=400 -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/jenkins1/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