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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001394/0.001394, allocations: 110.5 kB / 16.41 MB, free: 6.52 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.001472/0.001473, allocations: 186.7 kB / 17.35 MB, free: 5.734 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.457/1.457, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.233/2.233, allocations: 390.2 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001969, allocations: 63.89 kB / 0.9516 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.965/0.967, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001725/0.9688, allocations: 0.5435 MB / 1.089 GB, free: 5.188 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 4.649e-05/0.9689, allocations: 1.938 kB / 1.089 GB, free: 5.188 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.826e-05/0.9689, allocations: 4 kB / 1.089 GB, free: 5.184 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.679e-05/0.9689, allocations: 0 / 1.089 GB, free: 5.184 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.981e-05/0.969, allocations: 5.062 kB / 1.089 GB, free: 5.18 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 3.347e-05/0.9691, allocations: 0 / 1.089 GB, free: 5.18 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.625e-05/0.9691, allocations: 5.797 kB / 1.089 GB, free: 5.176 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 6.199e-05/0.9692, allocations: 1.953 kB / 1.089 GB, free: 5.176 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.621e-05/0.9692, allocations: 1.344 kB / 1.089 GB, free: 5.176 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 1.637e-05/0.9692, allocations: 0.6562 kB / 1.089 GB, free: 5.176 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.169e-05/0.9692, allocations: 0 / 1.089 GB, free: 5.176 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.998e-06/0.9692, allocations: 1.344 kB / 1.089 GB, free: 5.176 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.259e-05/0.9693, allocations: 7.938 kB / 1.089 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.283e-05/0.9693, allocations: 3.984 kB / 1.089 GB, free: 5.164 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 5.383e-05/0.9693, allocations: 2.531 kB / 1.089 GB, free: 5.164 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.9694, allocations: 1.734 kB / 1.089 GB, free: 5.164 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.533e-06/0.9694, allocations: 0 / 1.089 GB, free: 5.164 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.9694, allocations: 3.938 kB / 1.089 GB, free: 5.16 MB / 0.8575 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.0002342/0.9696, allocations: 312.1 kB / 1.09 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.9697, allocations: 10 kB / 1.09 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.742e-05/0.9697, allocations: 2.219 kB / 1.09 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.125e-05/0.9698, allocations: 165.7 kB / 1.09 GB, free: 4.613 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.9698, allocations: 384 / 1.09 GB, free: 4.613 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.833e-06/0.9698, allocations: 1.5 kB / 1.09 GB, free: 4.613 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.257e-05/0.9699, allocations: 36.56 kB / 1.09 GB, free: 4.574 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.032e-06/0.9699, allocations: 0 / 1.09 GB, free: 4.574 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.512e-06/0.9699, allocations: 0 / 1.09 GB, free: 4.574 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.9699, allocations: 1.094 kB / 1.09 GB, free: 4.574 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.443e-05/0.9699, allocations: 1.922 kB / 1.09 GB, free: 4.574 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002329/0.9702, allocations: 385.4 kB / 1.09 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.302e-05/0.9702, allocations: 179.2 kB / 1.09 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.706e-05/0.9702, allocations: 80.14 kB / 1.09 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.9703, allocations: 76.56 kB / 1.09 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.9703, allocations: 110.4 kB / 1.091 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.9703, allocations: 5.219 kB / 1.091 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 6.445e-05/0.9704, allocations: 27.31 kB / 1.091 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.842e-05/0.9704, allocations: 52.06 kB / 1.091 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.246e-05/0.9705, allocations: 98.22 kB / 1.091 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.19e-06/0.9705, allocations: 25.7 kB / 1.091 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.363e-05/0.9705, allocations: 81.17 kB / 1.091 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.673e-06/0.9705, allocations: 0 / 1.091 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.721e-05/0.9705, allocations: 11.72 kB / 1.091 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.567e-05/0.9706, allocations: 320.6 kB / 1.091 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.238e-06/0.9706, allocations: 3.938 kB / 1.091 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.856e-06/0.9706, allocations: 1.312 kB / 1.091 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.273e-05/0.9706, allocations: 75.8 kB / 1.091 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.338e-06/0.9706, allocations: 75.28 kB / 1.091 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.833e-05/0.9707, allocations: 29.19 kB / 1.091 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/0.9707, allocations: 81.39 kB / 1.091 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/0.9707, allocations: 84.5 kB / 1.091 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.026e-05/0.9707, allocations: 159.3 kB / 1.092 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.164e-05/0.9708, allocations: 77.38 kB / 1.092 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.906e-05/0.9708, allocations: 160.3 kB / 1.092 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.84e-05/0.9709, allocations: 76.34 kB / 1.092 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.9709, allocations: 80.86 kB / 1.092 GB, free: 2.168 MB / 0.8575 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 6.107e-05/0.9709, allocations: 266.1 kB / 1.092 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001275/0.9711, allocations: 106.9 kB / 1.092 GB, free: 17.79 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.367e-05/0.9711, allocations: 106.5 kB / 1.092 GB, free: 17.68 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.557e-05/0.9712, allocations: 182 kB / 1.093 GB, free: 17.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.675e-05/0.9712, allocations: 107 kB / 1.093 GB, free: 17.39 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.55e-05/0.9713, allocations: 187.9 kB / 1.093 GB, free: 17.18 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.018e-05/0.9714, allocations: 182.7 kB / 1.093 GB, free: 17 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.091e-05/0.9715, allocations: 110.8 kB / 1.093 GB, free: 16.88 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.943e-05/0.9715, allocations: 180.9 kB / 1.093 GB, free: 16.7 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.834e-05/0.9716, allocations: 253.9 kB / 1.094 GB, free: 16.45 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000143/0.9718, allocations: 388.5 kB / 1.094 GB, free: 16.05 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.182e-05/0.9718, allocations: 110.9 kB / 1.094 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 3.363e-05/0.9718, allocations: 78.95 kB / 1.094 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of Backend: time 1.012e-06/0.9719, allocations: 0 / 1.094 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000334/0.9722, allocations: 83.39 kB / 1.094 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of SimCode: time 0.0004438/0.9726, allocations: 0.9087 MB / 1.095 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of Templates: time 0.002/0.9747, allocations: 181.5 kB / 1.095 GB, free: 14.79 MB / 0.8731 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