Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.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.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001502/0.001502, allocations: 104.5 kB / 16.27 MB, free: 6.414 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.001476/0.001476, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.339/1.339, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.616/2.616, allocations: 482.4 MB / 0.7553 GB, free: 6.969 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001861/0.001861, allocations: 76.8 kB / 0.9245 GB, free: 15.95 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7016/0.7035, allocations: 162.2 MB / 1.083 GB, free: 1.641 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.001766/0.7053, allocations: 0.6654 MB / 1.084 GB, free: 1.215 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0006809/0.7059, allocations: 0.7954 MB / 1.084 GB, free: 0.6133 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.92e-05/0.706, allocations: 0.5625 kB / 1.084 GB, free: 0.6133 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.323e-05/0.706, allocations: 0.6562 kB / 1.084 GB, free: 0.6133 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.928e-05/0.7061, allocations: 4.812 kB / 1.084 GB, free: 0.6094 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001082/0.7062, allocations: 12.34 kB / 1.084 GB, free: 0.6016 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.769e-05/0.7063, allocations: 31.94 kB / 1.084 GB, free: 0.582 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.7e-05/0.7064, allocations: 4.844 kB / 1.084 GB, free: 0.582 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.996e-05/0.7064, allocations: 14.12 kB / 1.084 GB, free: 0.5742 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.17e-05/0.7064, allocations: 9.375 kB / 1.084 GB, free: 0.5703 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.7065, allocations: 1.219 kB / 1.084 GB, free: 0.5703 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.738e-06/0.7065, allocations: 1.875 kB / 1.084 GB, free: 0.5703 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.296e-05/0.7065, allocations: 5.906 kB / 1.084 GB, free: 0.5664 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.175e-05/0.7065, allocations: 7.297 kB / 1.084 GB, free: 0.5625 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.127e-05/0.7066, allocations: 24.41 kB / 1.084 GB, free: 0.5508 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.7066, allocations: 5.188 kB / 1.084 GB, free: 0.5469 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.092e-06/0.7066, allocations: 0 / 1.084 GB, free: 0.5469 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.137e-06/0.7066, allocations: 0 / 1.084 GB, free: 0.5469 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.0003197/0.7069, allocations: 334.6 kB / 1.085 GB, free: 196 kB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.028e-05/0.707, allocations: 10.34 kB / 1.085 GB, free: 196 kB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.415e-05/0.707, allocations: 7 kB / 1.085 GB, free: 192 kB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.131e-05/0.7071, allocations: 162.9 kB / 1.085 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.7071, allocations: 384 / 1.085 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.7071, allocations: 6.688 kB / 1.085 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.7073, allocations: 52.84 kB / 1.085 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.094e-06/0.7073, allocations: 192 / 1.085 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/0.7073, allocations: 5.375 kB / 1.085 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.7073, allocations: 0 / 1.085 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001583/0.7075, allocations: 32.72 kB / 1.085 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003172/0.7078, allocations: 246.3 kB / 1.085 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001284/0.708, allocations: 40.23 kB / 1.085 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.223e-05/0.7081, allocations: 27.86 kB / 1.085 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.7081, allocations: 4.734 kB / 1.085 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.7081, allocations: 32.19 kB / 1.085 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 9.61e-07/0.7081, allocations: 7.938 kB / 1.085 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0003525/0.7085, allocations: 84.14 kB / 1.085 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/0.7085, allocations: 52.22 kB / 1.086 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.92e-05/0.7086, allocations: 100.8 kB / 1.086 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.7086, allocations: 26.61 kB / 1.086 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.31e-05/0.7087, allocations: 82.28 kB / 1.086 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.683e-05/0.7087, allocations: 13.09 kB / 1.086 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.471e-05/0.7088, allocations: 17 kB / 1.086 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.7089, allocations: 316.9 kB / 1.086 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.127e-05/0.709, allocations: 18.59 kB / 1.086 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.398e-05/0.7091, allocations: 17.27 kB / 1.086 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/0.7092, allocations: 41.06 kB / 1.086 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.7092, allocations: 2.312 kB / 1.086 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001917/0.7094, allocations: 66.14 kB / 1.086 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.7094, allocations: 5.219 kB / 1.086 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.7095, allocations: 0 / 1.086 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.7095, allocations: 0.875 kB / 1.086 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.71e-05/0.7096, allocations: 9.953 kB / 1.086 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.7096, allocations: 0 / 1.086 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.727e-05/0.7096, allocations: 14 kB / 1.086 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.7096, allocations: 1.031 kB / 1.086 GB, free: 14.83 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.617e-05/0.7097, allocations: 116.8 kB / 1.086 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.514e-05/0.7098, allocations: 5.734 kB / 1.086 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002189/0.71, allocations: 66.86 kB / 1.086 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.71, allocations: 32 / 1.086 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.71, allocations: 4.938 kB / 1.086 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.71, allocations: 0.6094 kB / 1.086 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001748/0.7102, allocations: 160 kB / 1.087 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.7102, allocations: 0 / 1.087 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.122e-05/0.7103, allocations: 13.77 kB / 1.087 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.7103, allocations: 0 / 1.087 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.571e-06/0.7103, allocations: 1.594 kB / 1.087 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.7103, allocations: 0.75 kB / 1.087 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.7103, allocations: 0 / 1.087 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002528/0.7106, allocations: 174.8 kB / 1.087 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.624e-05/0.7106, allocations: 78.88 kB / 1.087 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.196e-05/0.7106, allocations: 4.594 kB / 1.087 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.866e-05/0.7107, allocations: 11.44 kB / 1.087 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.449e-05/0.7108, allocations: 0.7969 kB / 1.087 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.7108, allocations: 1.719 kB / 1.087 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.309e-05/0.7108, allocations: 88.11 kB / 1.087 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7108, allocations: 0 / 1.087 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002037/0.711, allocations: 3.719 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.0001296/0.7112, allocations: 98.59 kB / 1.087 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002152/0.7114, allocations: 46.8 kB / 1.087 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.7114, allocations: 1.156 kB / 1.087 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 8.289e-05/0.7115, allocations: 20.5 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.0002416/0.7117, allocations: 6.812 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.0002733/0.712, allocations: 134.5 kB / 1.087 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003095/0.7123, allocations: 0.6766 MB / 1.088 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.75e-05/0.7124, allocations: 8.938 kB / 1.088 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of SimCode: time 2.61e-07/0.7124, allocations: 4.062 kB / 1.088 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of Templates: time 0.001881/0.7143, allocations: 0.5287 MB / 1.088 GB, free: 13.15 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Exp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches