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.00874/0.00874, allocations: 99.95 kB / 15.73 MB, free: 6.059 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.001589/0.001589, allocations: 189.4 kB / 16.67 MB, free: 5.973 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.463/1.463, allocations: 222.9 MB / 240.4 MB, free: 15.11 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.963/2.963, allocations: 437 MB / 0.7105 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.00148, allocations: 63.89 kB / 1.019 GB, free: 9.422 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.325/1.327, allocations: 151.6 MB / 1.167 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.002361/1.329, allocations: 0.5438 MB / 1.167 GB, free: 3.312 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 6.529e-05/1.329, allocations: 0 / 1.167 GB, free: 3.312 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.053e-05/1.329, allocations: 0 / 1.167 GB, free: 3.312 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.214e-05/1.329, allocations: 0 / 1.167 GB, free: 3.312 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.338e-05/1.329, allocations: 0 / 1.167 GB, free: 3.312 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 3.799e-05/1.329, allocations: 0 / 1.167 GB, free: 3.312 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.476e-05/1.33, allocations: 11.94 kB / 1.167 GB, free: 3.301 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.043e-05/1.33, allocations: 3.938 kB / 1.167 GB, free: 3.297 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.981e-05/1.33, allocations: 0 / 1.167 GB, free: 3.297 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 2.637e-05/1.33, allocations: 4 kB / 1.167 GB, free: 3.293 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.239e-05/1.33, allocations: 4 kB / 1.167 GB, free: 3.289 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 5.992e-06/1.33, allocations: 0 / 1.167 GB, free: 3.289 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.683e-05/1.33, allocations: 3.984 kB / 1.167 GB, free: 3.285 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.189e-05/1.33, allocations: 0 / 1.167 GB, free: 3.285 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 8.276e-05/1.33, allocations: 7.922 kB / 1.167 GB, free: 3.277 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/1.33, allocations: 0 / 1.167 GB, free: 3.277 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.036e-06/1.33, allocations: 3.938 kB / 1.167 GB, free: 3.273 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.847e-06/1.33, allocations: 0 / 1.167 GB, free: 3.273 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.0006409/1.331, allocations: 317.5 kB / 1.167 GB, free: 2.914 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 6.006e-05/1.331, allocations: 16.92 kB / 1.168 GB, free: 2.898 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.281e-05/1.331, allocations: 0.9375 kB / 1.168 GB, free: 2.898 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000159/1.331, allocations: 164.4 kB / 1.168 GB, free: 2.699 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/1.331, allocations: 384 / 1.168 GB, free: 2.699 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.365e-05/1.331, allocations: 384 / 1.168 GB, free: 2.699 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/1.331, allocations: 30.27 kB / 1.168 GB, free: 2.664 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/1.331, allocations: 192 / 1.168 GB, free: 2.664 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/1.331, allocations: 3.938 kB / 1.168 GB, free: 2.66 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/1.331, allocations: 0 / 1.168 GB, free: 2.66 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.828e-05/1.331, allocations: 0 / 1.168 GB, free: 2.66 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004232/1.331, allocations: 387.5 kB / 1.168 GB, free: 2.23 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002264/1.332, allocations: 173.1 kB / 1.168 GB, free: 2.051 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.801e-05/1.332, allocations: 80.14 kB / 1.168 GB, free: 1.969 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.762e-05/1.332, allocations: 79.31 kB / 1.168 GB, free: 1.891 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.535e-05/1.332, allocations: 109.8 kB / 1.168 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/1.332, allocations: 0 / 1.168 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 7.148e-05/1.332, allocations: 29.64 kB / 1.169 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.817e-05/1.332, allocations: 130.7 kB / 1.169 GB, free: 1.598 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/1.332, allocations: 97.86 kB / 1.169 GB, free: 1.492 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/1.332, allocations: 25.7 kB / 1.169 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.666e-05/1.332, allocations: 84.27 kB / 1.169 GB, free: 1.375 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.026e-06/1.332, allocations: 0 / 1.169 GB, free: 1.375 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.563e-05/1.332, allocations: 13.72 kB / 1.169 GB, free: 1.355 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001294/1.332, allocations: 310.8 kB / 1.169 GB, free: 1.043 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.175e-06/1.332, allocations: 4 kB / 1.169 GB, free: 1.039 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.346e-06/1.332, allocations: 0 / 1.169 GB, free: 1.039 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.695e-05/1.332, allocations: 75.28 kB / 1.169 GB, free: 0.9648 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.351e-05/1.333, allocations: 75.28 kB / 1.169 GB, free: 0.8906 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.913e-05/1.333, allocations: 44.02 kB / 1.169 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 4.542e-05/1.333, allocations: 83.28 kB / 1.169 GB, free: 0.7617 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.971e-05/1.333, allocations: 91.17 kB / 1.17 GB, free: 0.6719 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.146e-05/1.333, allocations: 162.5 kB / 1.17 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.125e-05/1.333, allocations: 75.28 kB / 1.17 GB, free: 448 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.975e-05/1.333, allocations: 150.6 kB / 1.17 GB, free: 296 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.383e-05/1.333, allocations: 79.22 kB / 1.17 GB, free: 216 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.663e-05/1.333, allocations: 83.28 kB / 1.17 GB, free: 132 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.0001411/1.333, allocations: 268.3 kB / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.364e-05/1.333, allocations: 104.9 kB / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.285e-05/1.333, allocations: 108.1 kB / 1.17 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.438e-05/1.333, allocations: 176.3 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.025e-05/1.333, allocations: 184.2 kB / 1.171 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-05/1.333, allocations: 180.2 kB / 1.171 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002289/1.334, allocations: 409.1 kB / 1.171 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.086e-05/1.334, allocations: 101 kB / 1.171 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.755e-05/1.334, allocations: 105 kB / 1.172 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.475e-05/1.334, allocations: 184.2 kB / 1.172 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.208e-05/1.334, allocations: 180.3 kB / 1.172 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.889e-05/1.334, allocations: 184.2 kB / 1.172 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.082e-05/1.334, allocations: 180.3 kB / 1.172 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002324/1.334, allocations: 308.1 kB / 1.173 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.839e-05/1.334, allocations: 186.1 kB / 1.173 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000144/1.335, allocations: 184.2 kB / 1.173 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002358/1.335, allocations: 109 kB / 1.173 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.863e-05/1.335, allocations: 176.3 kB / 1.173 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.515e-05/1.335, allocations: 104.9 kB / 1.173 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.614e-05/1.335, allocations: 83.28 kB / 1.173 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/1.335, allocations: 0 / 1.173 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003282/1.335, allocations: 0 / 1.173 GB, free: 12.46 MB / 0.9044 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.0002399/1.336, allocations: 178.5 kB / 1.174 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 4.931e-05/1.336, allocations: 3.984 kB / 1.174 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/1.336, allocations: 0 / 1.174 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 2.544e-06/1.336, allocations: 3.938 kB / 1.174 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005884/1.336, allocations: 463.7 kB / 1.174 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004775/1.337, allocations: 152.2 kB / 1.174 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004648/1.337, allocations: 0.669 MB / 1.175 GB, free: 10.94 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 1.341e-05/1.337, allocations: 3.938 kB / 1.175 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.362e-05/1.337, allocations: 7.438 kB / 1.175 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of SimCode: time 3.91e-07/1.337, allocations: 0 / 1.175 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of Templates: time 0.002517/1.34, allocations: 176.9 kB / 1.175 GB, free: 10.75 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/jenkins/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