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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001705/0.001705, allocations: 112.5 kB / 16.42 MB, free: 6.398 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.001953/0.001953, allocations: 193.6 kB / 17.35 MB, free: 5.691 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.475/1.475, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.666/2.666, allocations: 461.9 MB / 0.7355 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001689/0.001689, allocations: 75.86 kB / 1.055 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.078/1.079, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001977/1.081, allocations: 0.5434 MB / 1.209 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 5.232e-05/1.081, allocations: 15.94 kB / 1.209 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.157e-05/1.081, allocations: 0 / 1.209 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.517e-05/1.082, allocations: 0 / 1.209 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.329e-05/1.082, allocations: 0 / 1.209 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 3.451e-05/1.082, allocations: 0 / 1.209 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 5.758e-05/1.082, allocations: 0 / 1.209 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 6.255e-05/1.082, allocations: 7.938 kB / 1.209 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 1.473e-05/1.082, allocations: 0 / 1.209 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 2.386e-05/1.082, allocations: 3.984 kB / 1.209 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.129e-05/1.082, allocations: 0 / 1.209 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 7.444e-06/1.082, allocations: 0 / 1.209 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.275e-05/1.082, allocations: 4 kB / 1.209 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.432e-05/1.082, allocations: 4 kB / 1.209 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 6.458e-05/1.082, allocations: 7.984 kB / 1.209 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/1.082, allocations: 0 / 1.209 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.334e-06/1.082, allocations: 3.938 kB / 1.209 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.047e-06/1.082, allocations: 0 / 1.209 GB, free: 13.07 MB / 0.9356 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.0003045/1.082, allocations: 311.6 kB / 1.209 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/1.082, allocations: 8.031 kB / 1.209 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.901e-05/1.082, allocations: 0.9375 kB / 1.209 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/1.083, allocations: 168.3 kB / 1.209 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/1.083, allocations: 8.375 kB / 1.209 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.865e-06/1.083, allocations: 384 / 1.209 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.302e-05/1.083, allocations: 30.27 kB / 1.21 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/1.083, allocations: 192 / 1.21 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/1.083, allocations: 3.938 kB / 1.21 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/1.083, allocations: 0 / 1.21 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.848e-05/1.083, allocations: 0 / 1.21 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003314/1.083, allocations: 383.5 kB / 1.21 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.715e-05/1.083, allocations: 177 kB / 1.21 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.191e-05/1.083, allocations: 80.14 kB / 1.21 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.728e-05/1.083, allocations: 75.28 kB / 1.21 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.54e-05/1.083, allocations: 105.8 kB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.382e-06/1.083, allocations: 4 kB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 7.218e-05/1.083, allocations: 37.58 kB / 1.21 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.557e-05/1.083, allocations: 51.41 kB / 1.21 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.86e-05/1.083, allocations: 97.84 kB / 1.21 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/1.083, allocations: 25.7 kB / 1.211 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 2.958e-05/1.084, allocations: 84.14 kB / 1.211 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-06/1.084, allocations: 0 / 1.211 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.06e-05/1.084, allocations: 9.719 kB / 1.211 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001079/1.084, allocations: 319 kB / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.109e-06/1.084, allocations: 0 / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.056e-06/1.084, allocations: 0 / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.565e-05/1.084, allocations: 75.28 kB / 1.211 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-05/1.084, allocations: 75.28 kB / 1.211 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.71e-05/1.084, allocations: 41.53 kB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.241e-05/1.084, allocations: 79.28 kB / 1.211 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.915e-05/1.084, allocations: 83.22 kB / 1.211 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.171e-05/1.084, allocations: 158.6 kB / 1.211 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.753e-05/1.084, allocations: 79.22 kB / 1.211 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.408e-05/1.084, allocations: 154.5 kB / 1.212 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.215e-05/1.084, allocations: 83.28 kB / 1.212 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.25e-05/1.084, allocations: 79.22 kB / 1.212 GB, free: 10 MB / 0.9356 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.0001071/1.084, allocations: 264.4 kB / 1.212 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.282e-05/1.084, allocations: 108.9 kB / 1.212 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.917e-05/1.084, allocations: 108 kB / 1.212 GB, free: 9.508 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.994e-05/1.084, allocations: 176.3 kB / 1.212 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-05/1.085, allocations: 105 kB / 1.212 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.77e-05/1.085, allocations: 190 kB / 1.213 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.023e-05/1.085, allocations: 180.3 kB / 1.213 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.05e-05/1.085, allocations: 108.9 kB / 1.213 GB, free: 8.711 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.416e-05/1.085, allocations: 176.3 kB / 1.213 GB, free: 8.531 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.407e-05/1.085, allocations: 263.4 kB / 1.213 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001881/1.085, allocations: 383.1 kB / 1.214 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.336e-05/1.085, allocations: 109.3 kB / 1.214 GB, free: 7.754 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.685e-05/1.085, allocations: 79.28 kB / 1.214 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of Backend: time 6.01e-07/1.085, allocations: 0 / 1.214 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003344/1.086, allocations: 84.42 kB / 1.214 GB, free: 7.586 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0005219/1.086, allocations: 0.8969 MB / 1.215 GB, free: 6.641 MB / 0.9356 GB Notification: Performance of Templates: time 0.001913/1.088, allocations: 196.8 kB / 1.215 GB, free: 6.449 MB / 0.9356 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=480 -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