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.0009241/0.0009244, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.008021/0.008021, allocations: 169.6 kB / 16.26 MB, free: 6.613 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.54/1.54, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.082/3.082, allocations: 462.7 MB / 0.7364 GB, free: 240 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0005053/0.0005051, allocations: 12.69 kB / 0.9028 GB, free: 36.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4348/0.4353, allocations: 159.6 MB / 1.059 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.0008973/0.4363, allocations: 274.1 kB / 1.059 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 3.885e-05/0.4364, allocations: 7.922 kB / 1.059 GB, free: 5.164 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.549e-05/0.4364, allocations: 0 / 1.059 GB, free: 5.164 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2e-05/0.4364, allocations: 7.938 kB / 1.059 GB, free: 5.156 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.148e-05/0.4365, allocations: 4 kB / 1.059 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 3.223e-05/0.4365, allocations: 7.938 kB / 1.059 GB, free: 5.145 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.064e-05/0.4366, allocations: 0 / 1.059 GB, free: 5.145 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.559e-05/0.4366, allocations: 0 / 1.059 GB, free: 5.145 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.936e-05/0.4367, allocations: 4 kB / 1.059 GB, free: 5.141 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 1.966e-05/0.4367, allocations: 0 / 1.059 GB, free: 5.141 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.4367, allocations: 0 / 1.059 GB, free: 5.141 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.677e-06/0.4367, allocations: 0 / 1.059 GB, free: 5.141 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.504e-05/0.4367, allocations: 0 / 1.059 GB, free: 5.141 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.622e-05/0.4368, allocations: 25.7 kB / 1.059 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.448e-05/0.4369, allocations: 7.922 kB / 1.059 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.4369, allocations: 4 kB / 1.059 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.763e-06/0.4369, allocations: 0 / 1.059 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.596e-06/0.4369, allocations: 0 / 1.059 GB, free: 5.098 MB / 0.8106 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.0003874/0.4373, allocations: 319.5 kB / 1.059 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.4374, allocations: 8.094 kB / 1.059 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.337e-05/0.4374, allocations: 4.938 kB / 1.059 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.4375, allocations: 164.4 kB / 1.059 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.4376, allocations: 384 / 1.059 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.705e-06/0.4376, allocations: 384 / 1.059 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/0.4377, allocations: 34.2 kB / 1.06 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.4377, allocations: 4.172 kB / 1.06 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.4377, allocations: 7.938 kB / 1.06 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.4378, allocations: 0 / 1.06 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.185e-05/0.4378, allocations: 0 / 1.06 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003912/0.4382, allocations: 379.5 kB / 1.06 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000171/0.4384, allocations: 173.1 kB / 1.06 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.82e-05/0.4384, allocations: 84.08 kB / 1.06 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.837e-05/0.4385, allocations: 75.28 kB / 1.06 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.075e-05/0.4385, allocations: 113.9 kB / 1.06 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.233e-06/0.4385, allocations: 0 / 1.06 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 8.558e-05/0.4386, allocations: 25.7 kB / 1.06 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.063e-05/0.4387, allocations: 130.7 kB / 1.06 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.4388, allocations: 93.86 kB / 1.061 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 6.828e-05/0.4389, allocations: 25.7 kB / 1.061 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.011e-05/0.439, allocations: 88.16 kB / 1.061 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.615e-06/0.439, allocations: 0 / 1.061 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-05/0.439, allocations: 9.719 kB / 1.061 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.4391, allocations: 314.8 kB / 1.061 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.621e-06/0.4392, allocations: 8.062 kB / 1.061 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.486e-06/0.4392, allocations: 4 kB / 1.061 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.437e-05/0.4392, allocations: 79.22 kB / 1.061 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.643e-05/0.4392, allocations: 75.28 kB / 1.061 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.685e-05/0.4393, allocations: 37.56 kB / 1.061 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.622e-05/0.4394, allocations: 83.28 kB / 1.061 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.59e-05/0.4394, allocations: 79.22 kB / 1.061 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.978e-05/0.4395, allocations: 150.6 kB / 1.061 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.468e-05/0.4396, allocations: 83.27 kB / 1.062 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.169e-05/0.4396, allocations: 162.5 kB / 1.062 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.091e-05/0.4397, allocations: 75.28 kB / 1.062 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.034e-05/0.4398, allocations: 79.22 kB / 1.062 GB, free: 1.953 MB / 0.8106 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.000135/0.4399, allocations: 260.3 kB / 1.062 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.671e-05/0.44, allocations: 109 kB / 1.062 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.261e-05/0.4401, allocations: 108.1 kB / 1.062 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.316e-05/0.4401, allocations: 184.2 kB / 1.062 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.419e-05/0.4402, allocations: 180.3 kB / 1.063 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.33e-05/0.4403, allocations: 180.2 kB / 1.063 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002737/0.4406, allocations: 405.4 kB / 1.063 GB, free: 468 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.674e-05/0.4406, allocations: 105 kB / 1.063 GB, free: 356 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.617e-05/0.4407, allocations: 113 kB / 1.063 GB, free: 236 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.992e-05/0.4408, allocations: 180.3 kB / 1.064 GB, free: 48 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001763/0.441, allocations: 180.2 kB / 1.064 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.87e-05/0.4411, allocations: 180.2 kB / 1.064 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.722e-05/0.4411, allocations: 184.3 kB / 1.064 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002541/0.4414, allocations: 307.7 kB / 1.064 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001597/0.4416, allocations: 186 kB / 1.065 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.395e-05/0.4417, allocations: 176.3 kB / 1.065 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001791/0.4419, allocations: 101 kB / 1.065 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.63e-05/0.442, allocations: 196.2 kB / 1.065 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-05/0.442, allocations: 101 kB / 1.065 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.101e-05/0.4421, allocations: 79.27 kB / 1.065 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.81e-07/0.4421, allocations: 4 kB / 1.065 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003654/0.4425, allocations: 0 / 1.065 GB, free: 14.29 MB / 0.8262 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.0001731/0.4426, allocations: 174.6 kB / 1.065 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 3.803e-05/0.4427, allocations: 3.938 kB / 1.065 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.4427, allocations: 0 / 1.065 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.867e-06/0.4427, allocations: 0 / 1.065 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006134/0.4433, allocations: 0.5315 MB / 1.066 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002598/0.4436, allocations: 154 kB / 1.066 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003145/0.4439, allocations: 0.6731 MB / 1.067 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.457e-06/0.4439, allocations: 0 / 1.067 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.682e-05/0.444, allocations: 7.438 kB / 1.067 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of SimCode: time 2.8e-07/0.444, allocations: 0 / 1.067 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of Templates: time 0.002377/0.4464, allocations: 160.9 kB / 1.067 GB, free: 12.52 MB / 0.8262 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/jenkins/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