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.008828/0.008828, allocations: 105.3 kB / 15.74 MB, free: 6.488 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.001375/0.001375, allocations: 194.9 kB / 16.68 MB, free: 6.375 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.504/1.504, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.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.71/2.71, allocations: 390.2 MB / 0.6648 GB, free: 140 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 62.72 kB / 0.9509 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4247/0.4261, allocations: 140.4 MB / 1.088 GB, free: 1.582 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.002097/0.4283, allocations: 0.5473 MB / 1.088 GB, free: 1.039 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 4.503e-05/0.4283, allocations: 7.938 kB / 1.088 GB, free: 1.031 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.848e-05/0.4284, allocations: 3.938 kB / 1.088 GB, free: 1.027 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.598e-05/0.4284, allocations: 0 / 1.088 GB, free: 1.027 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 2.842e-05/0.4285, allocations: 0 / 1.088 GB, free: 1.027 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 3.417e-05/0.4285, allocations: 0 / 1.088 GB, free: 1.027 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.544e-05/0.4286, allocations: 0 / 1.088 GB, free: 1.027 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 6.309e-05/0.4286, allocations: 8 kB / 1.088 GB, free: 1.02 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.728e-05/0.4286, allocations: 0 / 1.088 GB, free: 1.02 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 1.989e-05/0.4287, allocations: 4 kB / 1.088 GB, free: 1.016 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.157e-05/0.4287, allocations: 0 / 1.088 GB, free: 1.016 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 4.549e-06/0.4287, allocations: 0 / 1.088 GB, free: 1.016 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.234e-05/0.4287, allocations: 0 / 1.088 GB, free: 1.016 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.089e-05/0.4287, allocations: 0 / 1.088 GB, free: 1.016 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 6.847e-05/0.4288, allocations: 19.91 kB / 1.089 GB, free: 0.9961 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.4288, allocations: 0 / 1.089 GB, free: 0.9961 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.104e-06/0.4288, allocations: 0 / 1.089 GB, free: 0.9961 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.4288, allocations: 0 / 1.089 GB, free: 0.9961 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.0003395/0.4292, allocations: 311.6 kB / 1.089 GB, free: 0.6445 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.4292, allocations: 12.03 kB / 1.089 GB, free: 0.6328 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.823e-05/0.4293, allocations: 0.9375 kB / 1.089 GB, free: 0.6328 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.4294, allocations: 164.4 kB / 1.089 GB, free: 444 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.4295, allocations: 8.312 kB / 1.089 GB, free: 436 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.427e-06/0.4295, allocations: 384 / 1.089 GB, free: 436 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.247e-05/0.4296, allocations: 29.64 kB / 1.089 GB, free: 400 kB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.4296, allocations: 0 / 1.089 GB, free: 400 kB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.4296, allocations: 0 / 1.089 GB, free: 400 kB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.4296, allocations: 0 / 1.089 GB, free: 400 kB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.018e-05/0.4296, allocations: 12 kB / 1.089 GB, free: 388 kB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004227/0.4301, allocations: 387.4 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.843e-05/0.4302, allocations: 169.1 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.9e-05/0.4303, allocations: 80.14 kB / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.203e-05/0.4303, allocations: 83.28 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.984e-05/0.4304, allocations: 105.8 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.4304, allocations: 0 / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 8.719e-05/0.4305, allocations: 38 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.718e-05/0.4305, allocations: 126.7 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.4307, allocations: 97.84 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/0.4307, allocations: 25.7 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.507e-05/0.4307, allocations: 88.27 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.924e-06/0.4307, allocations: 0 / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.205e-05/0.4308, allocations: 9.719 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.4309, allocations: 314.8 kB / 1.09 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.36e-06/0.4309, allocations: 0 / 1.09 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.093e-06/0.4309, allocations: 8 kB / 1.09 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.09e-05/0.431, allocations: 79.22 kB / 1.091 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.59e-05/0.431, allocations: 75.28 kB / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.532e-05/0.431, allocations: 29.7 kB / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.771e-05/0.4311, allocations: 83.28 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.148e-05/0.4311, allocations: 83.2 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.135e-05/0.4312, allocations: 150.6 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.845e-05/0.4313, allocations: 83.22 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.675e-05/0.4313, allocations: 154.6 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.37e-05/0.4314, allocations: 80.7 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.308e-05/0.4314, allocations: 79.22 kB / 1.091 GB, free: 13.86 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 0.0001342/0.4316, allocations: 264.3 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.853e-05/0.4317, allocations: 105 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.391e-05/0.4317, allocations: 112 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.644e-05/0.4318, allocations: 176.3 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.552e-05/0.4319, allocations: 188.2 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-05/0.4319, allocations: 176.3 kB / 1.092 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003151/0.4323, allocations: 405.2 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.458e-05/0.4323, allocations: 108.9 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.83e-05/0.4324, allocations: 101 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.484e-05/0.4325, allocations: 192.2 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.03e-05/0.4326, allocations: 176.3 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.706e-05/0.4327, allocations: 180.6 kB / 1.093 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.061e-05/0.4328, allocations: 180.2 kB / 1.094 GB, free: 11.4 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001762/0.4329, allocations: 323.6 kB / 1.094 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.379e-05/0.433, allocations: 178.1 kB / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.113e-05/0.4331, allocations: 176.3 kB / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.292e-05/0.4332, allocations: 116.9 kB / 1.094 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.615e-05/0.4333, allocations: 180.2 kB / 1.095 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.126e-05/0.4334, allocations: 108.9 kB / 1.095 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.219e-05/0.4334, allocations: 83.28 kB / 1.095 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4334, allocations: 0 / 1.095 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002511/0.4337, allocations: 0 / 1.095 GB, free: 10.18 MB / 0.8575 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.0001549/0.4338, allocations: 171.1 kB / 1.095 GB, free: 10 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 4.912e-05/0.4339, allocations: 3.938 kB / 1.095 GB, free: 9.996 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4339, allocations: 0 / 1.095 GB, free: 9.996 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.187e-06/0.4339, allocations: 4 kB / 1.095 GB, free: 9.992 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004031/0.4343, allocations: 465.8 kB / 1.095 GB, free: 9.535 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003312/0.4347, allocations: 156.3 kB / 1.095 GB, free: 9.355 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003828/0.4351, allocations: 0.669 MB / 1.096 GB, free: 8.66 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.031e-05/0.4351, allocations: 0 / 1.096 GB, free: 8.66 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.094e-05/0.4351, allocations: 7.438 kB / 1.096 GB, free: 8.652 MB / 0.8575 GB Notification: Performance of SimCode: time 2.21e-07/0.4351, allocations: 0 / 1.096 GB, free: 8.652 MB / 0.8575 GB Notification: Performance of Templates: time 0.002057/0.4372, allocations: 176.9 kB / 1.096 GB, free: 8.48 MB / 0.8575 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/jenkins/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