Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_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_latest_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.001369/0.001369, allocations: 108.2 kB / 15.99 MB, free: 5.891 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.001339/0.001339, allocations: 195.9 kB / 16.91 MB, free: 5.746 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.437/1.437, allocations: 222.9 MB / 240.6 MB, free: 4.488 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.869/2.869, allocations: 482.4 MB / 0.755 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001857/0.001857, allocations: 66.94 kB / 0.924 GB, free: 29.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3472/0.3491, allocations: 162.2 MB / 1.082 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001928/0.351, allocations: 0.5941 MB / 1.083 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 3.98e-05/0.3511, allocations: 11.88 kB / 1.083 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.703e-05/0.3511, allocations: 0 / 1.083 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.878e-05/0.3512, allocations: 0 / 1.083 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 2.831e-05/0.3512, allocations: 0 / 1.083 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 3.09e-05/0.3513, allocations: 0 / 1.083 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.063e-05/0.3513, allocations: 8 kB / 1.083 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.92e-05/0.3514, allocations: 0 / 1.083 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.523e-05/0.3514, allocations: 0 / 1.083 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 1.797e-05/0.3514, allocations: 0 / 1.083 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.236e-05/0.3514, allocations: 4 kB / 1.083 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 4.248e-06/0.3514, allocations: 0 / 1.083 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.346e-05/0.3515, allocations: 3.984 kB / 1.083 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.746e-05/0.3515, allocations: 4 kB / 1.083 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 4.324e-05/0.3515, allocations: 3.984 kB / 1.083 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.3515, allocations: 3.938 kB / 1.083 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.994e-06/0.3515, allocations: 0 / 1.083 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.866e-06/0.3516, allocations: 3.938 kB / 1.083 GB, free: 12.92 MB / 0.8419 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.0003361/0.3519, allocations: 311.6 kB / 1.083 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.676e-05/0.352, allocations: 12.03 kB / 1.083 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.668e-05/0.352, allocations: 0.9375 kB / 1.083 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/0.3522, allocations: 164.4 kB / 1.084 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.3522, allocations: 8.312 kB / 1.084 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.234e-06/0.3522, allocations: 384 / 1.084 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.866e-05/0.3523, allocations: 30.27 kB / 1.084 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.3523, allocations: 192 / 1.084 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.3523, allocations: 3.938 kB / 1.084 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.3523, allocations: 4 kB / 1.084 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.459e-05/0.3523, allocations: 0 / 1.084 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003747/0.3527, allocations: 387.4 kB / 1.084 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.3528, allocations: 177 kB / 1.084 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.024e-05/0.3529, allocations: 80.14 kB / 1.084 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.226e-05/0.3529, allocations: 79.31 kB / 1.084 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.791e-05/0.353, allocations: 109.9 kB / 1.084 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 7.81e-07/0.353, allocations: 4 kB / 1.084 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 7.141e-05/0.3531, allocations: 25.7 kB / 1.084 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.311e-05/0.3532, allocations: 134.6 kB / 1.085 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.255e-05/0.3533, allocations: 97.86 kB / 1.085 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.3533, allocations: 25.7 kB / 1.085 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.592e-05/0.3533, allocations: 80.14 kB / 1.085 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.663e-06/0.3534, allocations: 0 / 1.085 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.572e-05/0.3534, allocations: 17.84 kB / 1.085 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.3535, allocations: 310.8 kB / 1.085 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.459e-06/0.3535, allocations: 0 / 1.085 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.665e-06/0.3536, allocations: 0 / 1.085 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.678e-05/0.3536, allocations: 75.28 kB / 1.085 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.052e-05/0.3536, allocations: 75.28 kB / 1.085 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.454e-05/0.3537, allocations: 37.62 kB / 1.085 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.512e-05/0.3538, allocations: 81 kB / 1.085 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.257e-05/0.3538, allocations: 87.22 kB / 1.085 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.203e-05/0.3539, allocations: 154.6 kB / 1.086 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.871e-05/0.354, allocations: 83.16 kB / 1.086 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.758e-05/0.354, allocations: 150.6 kB / 1.086 GB, free: 9.938 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.353e-05/0.3541, allocations: 75.28 kB / 1.086 GB, free: 9.863 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.424e-05/0.3542, allocations: 83.22 kB / 1.086 GB, free: 9.781 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 (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 0.0001508/0.3543, allocations: 272.3 kB / 1.086 GB, free: 9.504 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.86e-05/0.3544, allocations: 101 kB / 1.086 GB, free: 9.398 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.721e-05/0.3545, allocations: 115.8 kB / 1.086 GB, free: 9.281 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.772e-05/0.3545, allocations: 176.3 kB / 1.087 GB, free: 9.102 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.21e-05/0.3546, allocations: 180.2 kB / 1.087 GB, free: 8.918 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.798e-05/0.3547, allocations: 188.2 kB / 1.087 GB, free: 8.727 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003161/0.355, allocations: 405.2 kB / 1.087 GB, free: 8.273 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.209e-05/0.3551, allocations: 108.9 kB / 1.087 GB, free: 8.16 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-05/0.3552, allocations: 105 kB / 1.087 GB, free: 8.051 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.434e-05/0.3553, allocations: 184.5 kB / 1.088 GB, free: 7.863 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.915e-05/0.3554, allocations: 180.3 kB / 1.088 GB, free: 7.68 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.164e-05/0.3555, allocations: 184.3 kB / 1.088 GB, free: 7.492 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.894e-05/0.3556, allocations: 184.2 kB / 1.088 GB, free: 7.305 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001708/0.3557, allocations: 307.7 kB / 1.088 GB, free: 6.98 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.3559, allocations: 182.1 kB / 1.089 GB, free: 6.777 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001233/0.356, allocations: 184.3 kB / 1.089 GB, free: 6.59 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.868e-05/0.3561, allocations: 108.9 kB / 1.089 GB, free: 6.477 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.3562, allocations: 180.3 kB / 1.089 GB, free: 6.293 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.679e-05/0.3562, allocations: 104.9 kB / 1.089 GB, free: 6.184 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.293e-05/0.3563, allocations: 79.28 kB / 1.089 GB, free: 6.105 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.11e-07/0.3563, allocations: 0 / 1.089 GB, free: 6.105 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000253/0.3566, allocations: 0 / 1.089 GB, free: 6.105 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 (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.0001833/0.3568, allocations: 182.6 kB / 1.089 GB, free: 5.914 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 4.079e-05/0.3568, allocations: 0 / 1.089 GB, free: 5.914 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.3568, allocations: 0 / 1.089 GB, free: 5.914 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.303e-06/0.3568, allocations: 0 / 1.089 GB, free: 5.914 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004314/0.3572, allocations: 461.3 kB / 1.09 GB, free: 5.461 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002726/0.3575, allocations: 190 kB / 1.09 GB, free: 5.242 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003478/0.3579, allocations: 0.669 MB / 1.091 GB, free: 4.547 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.255e-05/0.3579, allocations: 7.438 kB / 1.091 GB, free: 4.539 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.3579, allocations: 0 / 1.091 GB, free: 4.539 MB / 0.8419 GB Notification: Performance of Templates: time 0.001836/0.3598, allocations: 323.8 kB / 1.091 GB, free: 4.223 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches