Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005593/0.005593, allocations: 97.88 kB / 15.73 MB, free: 5.953 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.001154/0.001154, allocations: 196.9 kB / 16.68 MB, free: 5.875 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.688/2.688, allocations: 469.8 MB / 0.7425 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001527, allocations: 67.89 kB / 1.065 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9181/0.9196, allocations: 159.1 MB / 1.221 GB, free: 2.09 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.0018/0.9214, allocations: 0.5399 MB / 1.221 GB, free: 1.551 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 4.087e-05/0.9215, allocations: 7.984 kB / 1.221 GB, free: 1.543 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.313e-05/0.9215, allocations: 0 / 1.221 GB, free: 1.543 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.99e-05/0.9215, allocations: 0 / 1.221 GB, free: 1.543 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 2.739e-05/0.9215, allocations: 0 / 1.221 GB, free: 1.543 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 3.819e-05/0.9216, allocations: 4 kB / 1.221 GB, free: 1.539 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 5.831e-05/0.9216, allocations: 0 / 1.221 GB, free: 1.539 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 6.682e-05/0.9217, allocations: 5.969 kB / 1.221 GB, free: 1.535 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 1.662e-05/0.9217, allocations: 7.938 kB / 1.221 GB, free: 1.527 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 2.083e-05/0.9217, allocations: 0 / 1.221 GB, free: 1.527 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.9218, allocations: 3.938 kB / 1.221 GB, free: 1.523 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 4.418e-06/0.9218, allocations: 0 / 1.221 GB, free: 1.523 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.562e-05/0.9218, allocations: 0 / 1.221 GB, free: 1.523 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.083e-05/0.9218, allocations: 4 kB / 1.221 GB, free: 1.52 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 7.227e-05/0.9219, allocations: 8 kB / 1.221 GB, free: 1.512 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.9219, allocations: 0 / 1.221 GB, free: 1.512 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.224e-06/0.9219, allocations: 0 / 1.221 GB, free: 1.512 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.234e-06/0.9219, allocations: 3.938 kB / 1.221 GB, free: 1.508 MB / 0.9356 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.0003797/0.9223, allocations: 319.5 kB / 1.221 GB, free: 1.145 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.9223, allocations: 8.031 kB / 1.221 GB, free: 1.137 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.96e-05/0.9224, allocations: 0.9375 kB / 1.221 GB, free: 1.137 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.9225, allocations: 160.4 kB / 1.222 GB, free: 0.9414 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.9225, allocations: 4.375 kB / 1.222 GB, free: 0.9375 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.226e-06/0.9225, allocations: 384 / 1.222 GB, free: 0.9375 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.299e-05/0.9226, allocations: 30.25 kB / 1.222 GB, free: 0.9023 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.9226, allocations: 192 / 1.222 GB, free: 0.9023 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.9226, allocations: 7.938 kB / 1.222 GB, free: 0.8945 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.9226, allocations: 4 kB / 1.222 GB, free: 0.8906 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.942e-05/0.9226, allocations: 7.938 kB / 1.222 GB, free: 0.8828 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003698/0.923, allocations: 379.5 kB / 1.222 GB, free: 472 kB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.937e-05/0.9231, allocations: 169.1 kB / 1.222 GB, free: 292 kB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.15e-05/0.9231, allocations: 80.14 kB / 1.222 GB, free: 208 kB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.048e-05/0.9232, allocations: 79.28 kB / 1.222 GB, free: 128 kB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.884e-05/0.9232, allocations: 109.8 kB / 1.222 GB, free: 8 kB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 9.61e-07/0.9232, allocations: 0 / 1.222 GB, free: 8 kB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 9.831e-05/0.9233, allocations: 29.7 kB / 1.223 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.969e-05/0.9234, allocations: 126.7 kB / 1.223 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.63e-05/0.9235, allocations: 101.8 kB / 1.223 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.124e-05/0.9235, allocations: 29.83 kB / 1.223 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 2.963e-05/0.9235, allocations: 80.14 kB / 1.223 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.158e-06/0.9235, allocations: 3.984 kB / 1.223 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.886e-05/0.9235, allocations: 13.66 kB / 1.223 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.9237, allocations: 310.8 kB / 1.223 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.009e-06/0.9237, allocations: 0 / 1.223 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.045e-06/0.9237, allocations: 4 kB / 1.223 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.543e-05/0.9237, allocations: 75.28 kB / 1.223 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.477e-05/0.9237, allocations: 79.28 kB / 1.223 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.655e-05/0.9238, allocations: 45.56 kB / 1.223 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.783e-05/0.9238, allocations: 83.28 kB / 1.223 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.864e-05/0.9238, allocations: 87.28 kB / 1.224 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.069e-05/0.9239, allocations: 154.5 kB / 1.224 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.325e-05/0.9239, allocations: 75.28 kB / 1.224 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.84e-05/0.924, allocations: 158.5 kB / 1.224 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.296e-05/0.9241, allocations: 83.22 kB / 1.224 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.14e-05/0.9241, allocations: 75.28 kB / 1.224 GB, free: 14.36 MB / 0.9512 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.0001183/0.9242, allocations: 264.3 kB / 1.224 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.62e-05/0.9243, allocations: 112.9 kB / 1.224 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.573e-05/0.9243, allocations: 104.1 kB / 1.224 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-05/0.9244, allocations: 184.2 kB / 1.225 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.346e-05/0.9245, allocations: 180.3 kB / 1.225 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-05/0.9246, allocations: 180.3 kB / 1.225 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000222/0.9248, allocations: 405.1 kB / 1.225 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.728e-05/0.9248, allocations: 105.9 kB / 1.225 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.563e-05/0.9249, allocations: 104.9 kB / 1.226 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.671e-05/0.9249, allocations: 180.3 kB / 1.226 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.681e-05/0.925, allocations: 184.2 kB / 1.226 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.977e-05/0.9251, allocations: 184.2 kB / 1.226 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.072e-05/0.9251, allocations: 180.3 kB / 1.226 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000143/0.9253, allocations: 316.1 kB / 1.227 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.689e-05/0.9253, allocations: 182 kB / 1.227 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.69e-05/0.9254, allocations: 180.2 kB / 1.227 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.544e-05/0.9255, allocations: 109 kB / 1.227 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.415e-05/0.9256, allocations: 180.2 kB / 1.227 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.566e-05/0.9256, allocations: 105 kB / 1.227 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.733e-05/0.9257, allocations: 87.28 kB / 1.227 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of sort global known variables: time 8e-08/0.9257, allocations: 0 / 1.227 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002884/0.9259, allocations: 0 / 1.227 GB, free: 10.68 MB / 0.9512 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.0001534/0.9261, allocations: 170.5 kB / 1.228 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 4.282e-05/0.9261, allocations: 0 / 1.228 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.9261, allocations: 7.938 kB / 1.228 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.312e-06/0.9261, allocations: 4.094 kB / 1.228 GB, free: 10.49 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003919/0.9265, allocations: 455.6 kB / 1.228 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002552/0.9268, allocations: 166 kB / 1.228 GB, free: 9.855 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003035/0.9271, allocations: 0.669 MB / 1.229 GB, free: 9.16 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 9.027e-06/0.9271, allocations: 0 / 1.229 GB, free: 9.16 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.767e-05/0.9271, allocations: 11.44 kB / 1.229 GB, free: 9.148 MB / 0.9512 GB Notification: Performance of SimCode: time 2.9e-07/0.9271, allocations: 4 kB / 1.229 GB, free: 9.145 MB / 0.9512 GB Notification: Performance of Templates: time 0.002007/0.9291, allocations: 157 kB / 1.229 GB, free: 8.992 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches