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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001932/0.001932, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002486/0.002485, allocations: 197 kB / 16.53 MB, free: 6.664 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.577/1.577, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.987/2.987, allocations: 472.7 MB / 0.7451 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 66.94 kB / 0.9121 GB, free: 33.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4183/0.4195, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.002665/0.4223, allocations: 0.5442 MB / 1.069 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 5.073e-05/0.4223, allocations: 3.938 kB / 1.069 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.242e-05/0.4224, allocations: 0 / 1.069 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.307e-05/0.4225, allocations: 0 / 1.069 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.366e-05/0.4225, allocations: 0 / 1.069 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 3.783e-05/0.4225, allocations: 0 / 1.069 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.662e-05/0.4226, allocations: 4 kB / 1.069 GB, free: 9.859 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.802e-05/0.4227, allocations: 0 / 1.069 GB, free: 9.859 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.908e-05/0.4228, allocations: 7.984 kB / 1.069 GB, free: 9.852 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.204e-05/0.4228, allocations: 0 / 1.069 GB, free: 9.852 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.4228, allocations: 0 / 1.069 GB, free: 9.852 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.853e-06/0.4228, allocations: 4 kB / 1.069 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.852e-05/0.4228, allocations: 4 kB / 1.069 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.149e-05/0.4229, allocations: 3.938 kB / 1.069 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.424e-05/0.423, allocations: 0 / 1.069 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.423, allocations: 3.938 kB / 1.069 GB, free: 9.836 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.735e-06/0.423, allocations: 0 / 1.069 GB, free: 9.836 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.034e-05/0.423, allocations: 3.984 kB / 1.069 GB, free: 9.832 MB / 0.8262 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.0003593/0.4234, allocations: 317.7 kB / 1.069 GB, free: 9.473 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.4234, allocations: 8.031 kB / 1.069 GB, free: 9.465 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.712e-05/0.4235, allocations: 8.938 kB / 1.069 GB, free: 9.457 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000155/0.4236, allocations: 164.4 kB / 1.069 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.4236, allocations: 4.312 kB / 1.069 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.407e-05/0.4237, allocations: 4.359 kB / 1.069 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.939e-05/0.4238, allocations: 26.27 kB / 1.069 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.4238, allocations: 4.188 kB / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.4238, allocations: 3.938 kB / 1.069 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.4238, allocations: 4 kB / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.158e-05/0.4238, allocations: 0 / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000416/0.4243, allocations: 379.5 kB / 1.07 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001031/0.4244, allocations: 173 kB / 1.07 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.712e-05/0.4244, allocations: 80.14 kB / 1.07 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.115e-05/0.4245, allocations: 79.28 kB / 1.07 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.021e-05/0.4245, allocations: 117.9 kB / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 7.52e-07/0.4245, allocations: 0 / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 8.771e-05/0.4246, allocations: 25.7 kB / 1.07 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.719e-05/0.4247, allocations: 130.6 kB / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.4248, allocations: 97.84 kB / 1.07 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.4248, allocations: 29.83 kB / 1.07 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.606e-05/0.4249, allocations: 80.14 kB / 1.07 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.595e-06/0.4249, allocations: 0 / 1.07 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.28e-05/0.4249, allocations: 13.72 kB / 1.07 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.4251, allocations: 314.8 kB / 1.071 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.715e-06/0.4251, allocations: 3.938 kB / 1.071 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.001e-06/0.4251, allocations: 2.172 kB / 1.071 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.711e-05/0.4251, allocations: 75.28 kB / 1.071 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.225e-05/0.4252, allocations: 79.28 kB / 1.071 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.13e-05/0.4253, allocations: 37.55 kB / 1.071 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.729e-05/0.4253, allocations: 79.28 kB / 1.071 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.986e-05/0.4254, allocations: 83.2 kB / 1.071 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.837e-05/0.4254, allocations: 150.6 kB / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.08e-05/0.4255, allocations: 83.22 kB / 1.071 GB, free: 7 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.902e-05/0.4255, allocations: 154.6 kB / 1.071 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.433e-05/0.4256, allocations: 83.27 kB / 1.072 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.581e-05/0.4257, allocations: 79.22 kB / 1.072 GB, free: 6.688 MB / 0.8262 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.0001356/0.4258, allocations: 266.4 kB / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.737e-05/0.4259, allocations: 105 kB / 1.072 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.449e-05/0.4259, allocations: 115.8 kB / 1.072 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.377e-05/0.426, allocations: 188.3 kB / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.664e-05/0.4261, allocations: 176.3 kB / 1.072 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.681e-05/0.4262, allocations: 180.2 kB / 1.073 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002403/0.4264, allocations: 405.2 kB / 1.073 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.939e-05/0.4265, allocations: 112.9 kB / 1.073 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.194e-05/0.4265, allocations: 101 kB / 1.073 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.677e-05/0.4266, allocations: 188.2 kB / 1.073 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.631e-05/0.4267, allocations: 180.3 kB / 1.074 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.418e-05/0.4267, allocations: 176.6 kB / 1.074 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.729e-05/0.4268, allocations: 180.2 kB / 1.074 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001751/0.427, allocations: 323.7 kB / 1.074 GB, free: 3.879 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.26e-05/0.4271, allocations: 178.1 kB / 1.074 GB, free: 3.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.271e-05/0.4272, allocations: 180.3 kB / 1.075 GB, free: 3.496 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.081e-05/0.4272, allocations: 104.9 kB / 1.075 GB, free: 3.387 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.638e-05/0.4273, allocations: 180.3 kB / 1.075 GB, free: 3.203 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.447e-05/0.4274, allocations: 112.9 kB / 1.075 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.964e-05/0.4274, allocations: 79.28 kB / 1.075 GB, free: 3.008 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.3e-07/0.4274, allocations: 0 / 1.075 GB, free: 3.008 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002704/0.4277, allocations: 0 / 1.075 GB, free: 3.008 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.0001872/0.4279, allocations: 170.5 kB / 1.075 GB, free: 2.828 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 5.572e-05/0.428, allocations: 4 kB / 1.075 GB, free: 2.824 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.428, allocations: 3.938 kB / 1.075 GB, free: 2.82 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.174e-06/0.428, allocations: 4.094 kB / 1.075 GB, free: 2.816 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004442/0.4284, allocations: 459.6 kB / 1.076 GB, free: 2.363 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003223/0.4288, allocations: 160.1 kB / 1.076 GB, free: 2.18 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003182/0.4291, allocations: 0.669 MB / 1.076 GB, free: 1.484 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.143e-05/0.4291, allocations: 0 / 1.076 GB, free: 1.484 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.328e-05/0.4292, allocations: 15.44 kB / 1.076 GB, free: 1.469 MB / 0.8262 GB Notification: Performance of SimCode: time 2e-07/0.4292, allocations: 0 / 1.076 GB, free: 1.469 MB / 0.8262 GB Notification: Performance of Templates: time 0.002273/0.4314, allocations: 168.8 kB / 1.077 GB, free: 1.305 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