Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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: translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008828/0.0008828, allocations: 92.23 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 177.7 kB / 16.92 MB, free: 6.652 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.508/1.508, allocations: 223.3 MB / 241 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.43/2.43, allocations: 390.9 MB / 0.667 GB, free: 2.285 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004094/0.0004095, allocations: 8 kB / 0.8166 GB, free: 13.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7437/0.7441, allocations: 142.4 MB / 0.9557 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.0007138/0.7449, allocations: 273.5 kB / 0.956 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 3.962e-05/0.7449, allocations: 4 kB / 0.956 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.459e-05/0.745, allocations: 1.094 kB / 0.956 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.601e-05/0.745, allocations: 3.938 kB / 0.956 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.203e-05/0.745, allocations: 0 / 0.956 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.428e-05/0.7451, allocations: 5.109 kB / 0.956 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.434e-05/0.7451, allocations: 1.219 kB / 0.956 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.239e-05/0.7452, allocations: 5.531 kB / 0.956 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.511e-05/0.7452, allocations: 0 / 0.956 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.015e-05/0.7452, allocations: 3.938 kB / 0.956 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.837e-05/0.7453, allocations: 5.312 kB / 0.956 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.509e-06/0.7453, allocations: 0 / 0.956 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.408e-05/0.7453, allocations: 0 / 0.956 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.636e-05/0.7453, allocations: 26.86 kB / 0.956 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 4.935e-05/0.7454, allocations: 4 kB / 0.956 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.7454, allocations: 1.344 kB / 0.956 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.904e-06/0.7454, allocations: 0 / 0.956 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.7454, allocations: 0 / 0.956 GB, free: 7.414 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000246/0.7457, allocations: 312.9 kB / 0.9563 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.7457, allocations: 9.562 kB / 0.9564 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.957e-05/0.7457, allocations: 2.094 kB / 0.9564 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.168e-05/0.7458, allocations: 164.3 kB / 0.9565 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.7458, allocations: 1.781 kB / 0.9565 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.113e-06/0.7459, allocations: 384 / 0.9565 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.945e-05/0.7459, allocations: 35.98 kB / 0.9566 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-06/0.746, allocations: 0 / 0.9566 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.746, allocations: 4 kB / 0.9566 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.746, allocations: 5.391 kB / 0.9566 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.451e-05/0.746, allocations: 1.219 kB / 0.9566 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002283/0.7462, allocations: 378.5 kB / 0.9569 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.865e-05/0.7463, allocations: 178.5 kB / 0.9571 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.534e-05/0.7463, allocations: 88.08 kB / 0.9572 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.272e-05/0.7463, allocations: 75.28 kB / 0.9572 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.7464, allocations: 107.2 kB / 0.9574 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.7464, allocations: 0 / 0.9574 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 7.026e-05/0.7464, allocations: 27.14 kB / 0.9574 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/0.7465, allocations: 126.7 kB / 0.9575 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.513e-05/0.7465, allocations: 102.1 kB / 0.9576 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.832e-06/0.7466, allocations: 25.7 kB / 0.9576 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.238e-05/0.7466, allocations: 84.12 kB / 0.9577 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.936e-06/0.7466, allocations: 1.5 kB / 0.9577 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.757e-05/0.7466, allocations: 13.7 kB / 0.9577 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.247e-05/0.7467, allocations: 314.8 kB / 0.958 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.218e-06/0.7467, allocations: 3.938 kB / 0.958 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.797e-06/0.7467, allocations: 1.344 kB / 0.958 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.277e-05/0.7467, allocations: 75.28 kB / 0.9581 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.11e-05/0.7467, allocations: 79.41 kB / 0.9582 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.582e-05/0.7468, allocations: 28.61 kB / 0.9582 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.277e-05/0.7468, allocations: 82.44 kB / 0.9583 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/0.7469, allocations: 83.22 kB / 0.9584 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.681e-05/0.7469, allocations: 151.9 kB / 0.9585 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.195e-05/0.7469, allocations: 80.44 kB / 0.9586 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.075e-05/0.7469, allocations: 163.6 kB / 0.9587 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.054e-05/0.747, allocations: 83.31 kB / 0.9588 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.747, allocations: 80.47 kB / 0.9589 GB, free: 4.32 MB / 0.7169 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 (0): * Single equations (assignments): 0 * 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 5.985e-05/0.7471, allocations: 266.2 kB / 0.9591 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.988e-05/0.7471, allocations: 102.8 kB / 0.9592 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.684e-05/0.7472, allocations: 111.9 kB / 0.9593 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.55e-05/0.7472, allocations: 187.2 kB / 0.9595 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.732e-05/0.7472, allocations: 177.6 kB / 0.9597 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.722e-05/0.7473, allocations: 180.2 kB / 0.9599 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001433/0.7474, allocations: 408.2 kB / 0.9603 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.103e-05/0.7474, allocations: 101 kB / 0.9604 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.514e-05/0.7475, allocations: 110.4 kB / 0.9605 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-05/0.7475, allocations: 178 kB / 0.9606 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.037e-05/0.7475, allocations: 180.2 kB / 0.9608 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.792e-05/0.7476, allocations: 189.6 kB / 0.961 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.532e-05/0.7476, allocations: 176.3 kB / 0.9611 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.88e-05/0.7477, allocations: 308.6 kB / 0.9614 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.581e-05/0.7477, allocations: 199.5 kB / 0.9616 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.698e-05/0.7478, allocations: 176.3 kB / 0.9618 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.91e-05/0.7478, allocations: 106.1 kB / 0.9619 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.417e-05/0.7479, allocations: 181.2 kB / 0.9621 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.501e-05/0.7479, allocations: 105.8 kB / 0.9622 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.173e-05/0.7479, allocations: 82.45 kB / 0.9623 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7479, allocations: 0 / 0.9623 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002569/0.7482, allocations: 0 / 0.9623 GB, free: 0.6719 MB / 0.7169 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 (0): * Single equations (assignments): 0 * 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.0001142/0.7483, allocations: 175.7 kB / 0.9624 GB, free: 0.5078 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 3.371e-05/0.7483, allocations: 5.031 kB / 0.9624 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.7483, allocations: 0 / 0.9624 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.272e-06/0.7483, allocations: 5.062 kB / 0.9624 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003008/0.7487, allocations: 0.52 MB / 0.9629 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002252/0.7489, allocations: 176.9 kB / 0.9631 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000245/0.7491, allocations: 0.6742 MB / 0.9638 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.562e-05/0.7492, allocations: 7.438 kB / 0.9638 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of SimCode: time 3.1e-07/0.7492, allocations: 4 kB / 0.9638 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of Templates: time 0.00148/0.7507, allocations: 312 kB / 0.9641 GB, free: 14.92 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches