Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001347/0.001347, allocations: 109.9 kB / 16.42 MB, free: 6.434 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.001412/0.001412, allocations: 187.9 kB / 17.35 MB, free: 5.688 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.512/1.512, allocations: 222.9 MB / 241.1 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.63/2.63, allocations: 437 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 55.91 kB / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9282/0.9297, allocations: 151.6 MB / 1.167 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001836/0.9316, allocations: 0.542 MB / 1.168 GB, free: 3.273 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 4.29e-05/0.9316, allocations: 8 kB / 1.168 GB, free: 3.266 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.05e-05/0.9317, allocations: 4 kB / 1.168 GB, free: 3.262 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.268e-05/0.9317, allocations: 0 / 1.168 GB, free: 3.262 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 2.718e-05/0.9317, allocations: 0 / 1.168 GB, free: 3.262 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 2.82e-05/0.9318, allocations: 0 / 1.168 GB, free: 3.262 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 4.936e-05/0.9318, allocations: 0 / 1.168 GB, free: 3.262 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 5.69e-05/0.9319, allocations: 4 kB / 1.168 GB, free: 3.258 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.618e-05/0.9319, allocations: 7.922 kB / 1.168 GB, free: 3.25 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 1.644e-05/0.9319, allocations: 0 / 1.168 GB, free: 3.25 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.932, allocations: 0 / 1.168 GB, free: 3.25 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 6.783e-06/0.932, allocations: 0 / 1.168 GB, free: 3.25 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.161e-05/0.932, allocations: 0 / 1.168 GB, free: 3.25 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 1.911e-05/0.932, allocations: 4 kB / 1.168 GB, free: 3.246 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 6.379e-05/0.9321, allocations: 8 kB / 1.168 GB, free: 3.238 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.9321, allocations: 3.938 kB / 1.168 GB, free: 3.234 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.415e-06/0.9321, allocations: 0 / 1.168 GB, free: 3.234 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.9321, allocations: 0 / 1.168 GB, free: 3.234 MB / 0.8887 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.0002992/0.9324, allocations: 315.5 kB / 1.168 GB, free: 2.875 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.9325, allocations: 8.625 kB / 1.168 GB, free: 2.867 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.646e-05/0.9325, allocations: 4.875 kB / 1.168 GB, free: 2.863 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.9326, allocations: 160.4 kB / 1.168 GB, free: 2.668 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.9326, allocations: 4.375 kB / 1.168 GB, free: 2.664 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.099e-05/0.9326, allocations: 8.359 kB / 1.168 GB, free: 2.656 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.369e-05/0.9327, allocations: 30.27 kB / 1.168 GB, free: 2.621 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.9327, allocations: 192 / 1.168 GB, free: 2.621 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.9328, allocations: 3.938 kB / 1.168 GB, free: 2.617 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-06/0.9328, allocations: 0 / 1.168 GB, free: 2.617 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.612e-05/0.9328, allocations: 4 kB / 1.168 GB, free: 2.613 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002894/0.9331, allocations: 383.4 kB / 1.169 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 9.054e-05/0.9332, allocations: 177.1 kB / 1.169 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.089e-05/0.9332, allocations: 80.14 kB / 1.169 GB, free: 1.922 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.379e-05/0.9333, allocations: 75.28 kB / 1.169 GB, free: 1.848 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.277e-05/0.9333, allocations: 105.8 kB / 1.169 GB, free: 1.734 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 1.242e-06/0.9333, allocations: 0 / 1.169 GB, free: 1.734 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 7.016e-05/0.9334, allocations: 33.64 kB / 1.169 GB, free: 1.695 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/0.9334, allocations: 55.41 kB / 1.169 GB, free: 1.629 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.274e-05/0.9335, allocations: 97.84 kB / 1.169 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.9335, allocations: 25.7 kB / 1.169 GB, free: 1.492 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.118e-05/0.9336, allocations: 84.14 kB / 1.169 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.094e-06/0.9336, allocations: 0 / 1.169 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.887e-05/0.9336, allocations: 9.719 kB / 1.169 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.9337, allocations: 315 kB / 1.17 GB, free: 1.074 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.411e-06/0.9338, allocations: 0 / 1.17 GB, free: 1.074 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.246e-06/0.9338, allocations: 0 / 1.17 GB, free: 1.074 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.866e-05/0.9338, allocations: 75.28 kB / 1.17 GB, free: 1 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-05/0.9338, allocations: 79.28 kB / 1.17 GB, free: 0.9219 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.255e-05/0.9339, allocations: 44.03 kB / 1.17 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.409e-05/0.9339, allocations: 79.28 kB / 1.17 GB, free: 0.7969 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.913e-05/0.934, allocations: 83.27 kB / 1.17 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.816e-05/0.9341, allocations: 158.6 kB / 1.17 GB, free: 0.5586 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.25e-05/0.9341, allocations: 79.22 kB / 1.17 GB, free: 492 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-05/0.9341, allocations: 150.6 kB / 1.17 GB, free: 340 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.218e-05/0.9342, allocations: 83.22 kB / 1.171 GB, free: 256 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.149e-05/0.9343, allocations: 75.28 kB / 1.171 GB, free: 180 kB / 0.8887 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.0001425/0.9344, allocations: 264.4 kB / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.679e-05/0.9345, allocations: 120.8 kB / 1.171 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.656e-05/0.9345, allocations: 104.1 kB / 1.171 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.301e-05/0.9346, allocations: 176.3 kB / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.353e-05/0.9347, allocations: 108.9 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001366/0.9348, allocations: 182.1 kB / 1.172 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000148/0.935, allocations: 192.2 kB / 1.172 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.088e-05/0.935, allocations: 101 kB / 1.172 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/0.9352, allocations: 176.3 kB / 1.172 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001751/0.9353, allocations: 263.4 kB / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000251/0.9356, allocations: 387 kB / 1.173 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.837e-05/0.9357, allocations: 105.3 kB / 1.173 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.873e-05/0.9357, allocations: 75.28 kB / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of Backend: time 6.51e-07/0.9357, allocations: 0 / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003589/0.9361, allocations: 78.41 kB / 1.173 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005093/0.9366, allocations: 0.9084 MB / 1.174 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of Templates: time 0.001943/0.9385, allocations: 179.4 kB / 1.174 GB, free: 12.62 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches