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.001919/0.001919, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002039/0.002038, allocations: 194.5 kB / 16.25 MB, free: 6.633 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.679/1.679, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.021/3.021, allocations: 482.4 MB / 0.7543 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 62.47 kB / 0.9233 GB, free: 29.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4205/0.4226, allocations: 162.2 MB / 1.082 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.002017/0.4246, allocations: 0.598 MB / 1.082 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 3.548e-05/0.4247, allocations: 7.938 kB / 1.082 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.853e-05/0.4247, allocations: 8 kB / 1.082 GB, free: 13 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.238e-05/0.4248, allocations: 0 / 1.082 GB, free: 13 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 2.35e-05/0.4248, allocations: 0 / 1.082 GB, free: 13 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 3.707e-05/0.4248, allocations: 0 / 1.082 GB, free: 13 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 4.66e-05/0.4249, allocations: 3.938 kB / 1.082 GB, free: 13 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.295e-05/0.4249, allocations: 0 / 1.082 GB, free: 13 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.475e-05/0.425, allocations: 4 kB / 1.082 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 2.154e-05/0.425, allocations: 7.969 kB / 1.082 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.059e-05/0.425, allocations: 0 / 1.082 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 4.789e-06/0.425, allocations: 0 / 1.082 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.33e-05/0.425, allocations: 0 / 1.082 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.021e-05/0.4251, allocations: 4 kB / 1.082 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 5.512e-05/0.4251, allocations: 7.938 kB / 1.082 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.4251, allocations: 4 kB / 1.082 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.164e-06/0.4251, allocations: 0 / 1.082 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.4251, allocations: 0 / 1.082 GB, free: 12.97 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.0003148/0.4255, allocations: 307.5 kB / 1.083 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.4255, allocations: 16 kB / 1.083 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.5e-05/0.4255, allocations: 0.9375 kB / 1.083 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.4257, allocations: 160.4 kB / 1.083 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.4257, allocations: 4.375 kB / 1.083 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.718e-06/0.4257, allocations: 384 / 1.083 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.544e-05/0.4258, allocations: 38.27 kB / 1.083 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.4258, allocations: 192 / 1.083 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.4258, allocations: 3.938 kB / 1.083 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.4258, allocations: 0 / 1.083 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.474e-05/0.4259, allocations: 3.938 kB / 1.083 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003306/0.4262, allocations: 387.4 kB / 1.083 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.4263, allocations: 173.1 kB / 1.083 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.751e-05/0.4263, allocations: 80.14 kB / 1.084 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.317e-05/0.4264, allocations: 79.22 kB / 1.084 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.633e-05/0.4264, allocations: 105.8 kB / 1.084 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.4265, allocations: 4 kB / 1.084 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 7.04e-05/0.4265, allocations: 33.72 kB / 1.084 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.124e-05/0.4266, allocations: 130.7 kB / 1.084 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.715e-05/0.4267, allocations: 93.86 kB / 1.084 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.4267, allocations: 25.7 kB / 1.084 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 3.6e-05/0.4267, allocations: 84.14 kB / 1.084 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.423e-06/0.4268, allocations: 0 / 1.084 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.471e-05/0.4268, allocations: 9.719 kB / 1.084 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.4269, allocations: 315 kB / 1.084 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.549e-06/0.4269, allocations: 0 / 1.084 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.248e-06/0.4269, allocations: 7.922 kB / 1.084 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.247e-05/0.427, allocations: 83.22 kB / 1.084 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-05/0.427, allocations: 79.28 kB / 1.085 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.212e-05/0.4271, allocations: 29.64 kB / 1.085 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.966e-05/0.4271, allocations: 79.28 kB / 1.085 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.024e-05/0.4271, allocations: 79.28 kB / 1.085 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.633e-05/0.4272, allocations: 158.5 kB / 1.085 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.901e-05/0.4273, allocations: 75.28 kB / 1.085 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.542e-05/0.4274, allocations: 154.5 kB / 1.085 GB, free: 9.992 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.23e-05/0.4275, allocations: 83.27 kB / 1.085 GB, free: 9.91 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.503e-05/0.4275, allocations: 75.28 kB / 1.085 GB, free: 9.836 MB / 0.8419 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.0001367/0.4276, allocations: 272.3 kB / 1.085 GB, free: 9.559 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.301e-05/0.4277, allocations: 105 kB / 1.086 GB, free: 9.449 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.835e-05/0.4278, allocations: 107.9 kB / 1.086 GB, free: 9.34 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.954e-05/0.4279, allocations: 184.2 kB / 1.086 GB, free: 9.152 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-05/0.4279, allocations: 180.2 kB / 1.086 GB, free: 8.969 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.909e-05/0.428, allocations: 188.3 kB / 1.086 GB, free: 8.777 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002539/0.4283, allocations: 405 kB / 1.087 GB, free: 8.324 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.51e-05/0.4283, allocations: 105 kB / 1.087 GB, free: 8.215 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.67e-05/0.4284, allocations: 108.9 kB / 1.087 GB, free: 8.102 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.96e-05/0.4285, allocations: 180.6 kB / 1.087 GB, free: 7.918 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.233e-05/0.4286, allocations: 184.2 kB / 1.087 GB, free: 7.73 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.553e-05/0.4286, allocations: 180.3 kB / 1.087 GB, free: 7.547 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.305e-05/0.4287, allocations: 184.3 kB / 1.087 GB, free: 7.359 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001586/0.4289, allocations: 307.7 kB / 1.088 GB, free: 7.035 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/0.429, allocations: 186 kB / 1.088 GB, free: 6.828 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.514e-05/0.4291, allocations: 184.2 kB / 1.088 GB, free: 6.641 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.25e-05/0.4292, allocations: 105 kB / 1.088 GB, free: 6.531 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.582e-05/0.4293, allocations: 180.2 kB / 1.088 GB, free: 6.348 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.525e-05/0.4293, allocations: 105 kB / 1.089 GB, free: 6.238 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.337e-05/0.4294, allocations: 79.28 kB / 1.089 GB, free: 6.16 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4294, allocations: 0 / 1.089 GB, free: 6.16 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002445/0.4296, allocations: 0 / 1.089 GB, free: 6.16 MB / 0.8419 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.0001701/0.4298, allocations: 182.6 kB / 1.089 GB, free: 5.969 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 3.885e-05/0.4299, allocations: 3.938 kB / 1.089 GB, free: 5.965 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.4299, allocations: 0 / 1.089 GB, free: 5.965 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 3.356e-06/0.4299, allocations: 0 / 1.089 GB, free: 5.965 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004017/0.4303, allocations: 465.3 kB / 1.089 GB, free: 5.508 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002387/0.4305, allocations: 156.4 kB / 1.089 GB, free: 5.328 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002904/0.4308, allocations: 0.669 MB / 1.09 GB, free: 4.633 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 9.488e-06/0.4308, allocations: 3.984 kB / 1.09 GB, free: 4.629 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.008e-05/0.4309, allocations: 7.438 kB / 1.09 GB, free: 4.621 MB / 0.8419 GB Notification: Performance of SimCode: time 2.91e-07/0.4309, allocations: 0 / 1.09 GB, free: 4.621 MB / 0.8419 GB Notification: Performance of Templates: time 0.002238/0.4331, allocations: 172.8 kB / 1.09 GB, free: 4.453 MB / 0.8419 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=400 -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