Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008341/0.0008341, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009228/0.0009228, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8965/0.8965, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.788/1.788, allocations: 389 MB / 0.6338 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.444e-06/2.444e-06, allocations: 0 / 1.001 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.591e-05/2.835e-05, allocations: 2.281 kB / 1.001 GB, free: 11.85 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001206/0.001234, allocations: 0.5519 MB / 1.001 GB, free: 11.3 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 3.835e-05/0.001272, allocations: 7.875 kB / 1.001 GB, free: 11.29 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.811e-05/0.001301, allocations: 3.938 kB / 1.001 GB, free: 11.29 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 2.77e-05/0.001328, allocations: 0 / 1.001 GB, free: 11.29 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 2.62e-05/0.001354, allocations: 0 / 1.001 GB, free: 11.29 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 3.222e-05/0.001387, allocations: 0 / 1.001 GB, free: 11.29 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 6.093e-05/0.001448, allocations: 8 kB / 1.001 GB, free: 11.28 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 5.06e-05/0.001498, allocations: 4 kB / 1.001 GB, free: 11.28 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 3e-05/0.001528, allocations: 0 / 1.001 GB, free: 11.28 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 2.337e-05/0.001552, allocations: 0 / 1.001 GB, free: 11.28 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.133e-05/0.001573, allocations: 0 / 1.001 GB, free: 11.28 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 3.146e-06/0.001576, allocations: 0 / 1.001 GB, free: 11.28 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 1.44e-05/0.00159, allocations: 4 kB / 1.001 GB, free: 11.27 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 1.914e-05/0.00161, allocations: 4 kB / 1.001 GB, free: 11.27 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 6.081e-05/0.00167, allocations: 3.984 kB / 1.001 GB, free: 11.27 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.001672, allocations: 0 / 1.001 GB, free: 11.27 MB / 0.9167 GB Notification: Performance of FrontEnd: time 8.01e-07/0.001673, allocations: 0 / 1.001 GB, free: 11.27 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 3.888e-06/0.001677, allocations: 0 / 1.001 GB, free: 11.27 MB / 0.9167 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.0002365/0.001913, allocations: 242.4 kB / 1.002 GB, free: 11 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.001953, allocations: 16.73 kB / 1.002 GB, free: 10.98 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.651e-05/0.00198, allocations: 4.922 kB / 1.002 GB, free: 10.98 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.734e-05/0.002057, allocations: 109.7 kB / 1.002 GB, free: 10.84 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.002068, allocations: 384 / 1.002 GB, free: 10.84 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.723e-06/0.002074, allocations: 384 / 1.002 GB, free: 10.84 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.474e-05/0.002149, allocations: 30.27 kB / 1.002 GB, free: 10.81 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.002156, allocations: 192 / 1.002 GB, free: 10.81 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.002165, allocations: 384 / 1.002 GB, free: 10.81 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.002168, allocations: 384 / 1.002 GB, free: 10.81 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.528e-05/0.002184, allocations: 11.94 kB / 1.002 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003127/0.002496, allocations: 335.1 kB / 1.002 GB, free: 10.44 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 6.44e-05/0.002561, allocations: 165.1 kB / 1.002 GB, free: 10.27 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.377e-05/0.002585, allocations: 80.14 kB / 1.002 GB, free: 10.18 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/0.002604, allocations: 75.28 kB / 1.002 GB, free: 10.11 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/0.002637, allocations: 113.8 kB / 1.003 GB, free: 9.988 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=0): time 7.12e-07/0.002638, allocations: 0 / 1.003 GB, free: 9.988 MB / 0.9167 GB Notification: Performance of matching and sorting (n=0): time 5.41e-05/0.002692, allocations: 33.58 kB / 1.003 GB, free: 9.949 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.002737, allocations: 126.7 kB / 1.003 GB, free: 9.812 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.169e-05/0.002799, allocations: 101.8 kB / 1.003 GB, free: 9.703 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 7.424e-06/0.002806, allocations: 25.7 kB / 1.003 GB, free: 9.672 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 2.701e-05/0.002833, allocations: 80.14 kB / 1.003 GB, free: 9.59 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.923e-06/0.002835, allocations: 0 / 1.003 GB, free: 9.59 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.771e-05/0.002853, allocations: 9.719 kB / 1.003 GB, free: 9.574 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 6.829e-05/0.002921, allocations: 318.8 kB / 1.003 GB, free: 9.254 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.889e-06/0.002926, allocations: 3.938 kB / 1.003 GB, free: 9.25 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.606e-06/0.002929, allocations: 0 / 1.003 GB, free: 9.25 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.926e-05/0.002949, allocations: 75.28 kB / 1.003 GB, free: 9.176 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.675e-05/0.002965, allocations: 75.28 kB / 1.003 GB, free: 9.102 MB / 0.9167 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.407e-05/0.003, allocations: 33.64 kB / 1.003 GB, free: 9.062 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.793e-05/0.003027, allocations: 85.28 kB / 1.004 GB, free: 8.98 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.795e-05/0.003045, allocations: 79.22 kB / 1.004 GB, free: 8.902 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.348e-05/0.003089, allocations: 158.5 kB / 1.004 GB, free: 8.746 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.712e-05/0.003106, allocations: 80 kB / 1.004 GB, free: 8.668 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.227e-05/0.003138, allocations: 154.5 kB / 1.004 GB, free: 8.516 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.354e-05/0.003182, allocations: 91.22 kB / 1.004 GB, free: 8.426 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.576e-05/0.003198, allocations: 75.28 kB / 1.004 GB, free: 8.352 MB / 0.9167 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 7.666e-05/0.003274, allocations: 260.4 kB / 1.004 GB, free: 8.086 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.198e-05/0.003306, allocations: 101 kB / 1.004 GB, free: 7.98 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.524e-05/0.003341, allocations: 123.8 kB / 1.005 GB, free: 7.852 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.749e-05/0.003379, allocations: 184.5 kB / 1.005 GB, free: 7.664 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.204e-05/0.003421, allocations: 184.2 kB / 1.005 GB, free: 7.477 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-05/0.003458, allocations: 180.3 kB / 1.005 GB, free: 7.293 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001187/0.003577, allocations: 352.9 kB / 1.005 GB, free: 6.91 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.258e-05/0.003599, allocations: 104.9 kB / 1.006 GB, free: 6.801 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.195e-05/0.003621, allocations: 101 kB / 1.006 GB, free: 6.695 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.01e-05/0.003661, allocations: 188.2 kB / 1.006 GB, free: 6.504 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.945e-05/0.003701, allocations: 176.3 kB / 1.006 GB, free: 6.324 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.805e-05/0.003739, allocations: 184.2 kB / 1.006 GB, free: 6.137 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-05/0.003777, allocations: 184.2 kB / 1.006 GB, free: 5.949 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.78e-05/0.003865, allocations: 307.7 kB / 1.007 GB, free: 5.625 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.756e-05/0.003892, allocations: 109 kB / 1.007 GB, free: 5.512 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.272e-05/0.003935, allocations: 180.3 kB / 1.007 GB, free: 5.328 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.527e-05/0.00398, allocations: 112.9 kB / 1.007 GB, free: 5.211 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.35e-05/0.004024, allocations: 180.3 kB / 1.007 GB, free: 5.027 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.291e-05/0.004047, allocations: 104.9 kB / 1.007 GB, free: 4.918 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.733e-05/0.004074, allocations: 79.28 kB / 1.007 GB, free: 4.84 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.004074, allocations: 0 / 1.007 GB, free: 4.84 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001607/0.004235, allocations: 0 / 1.007 GB, free: 4.84 MB / 0.9167 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 9.468e-05/0.004329, allocations: 174.6 kB / 1.008 GB, free: 4.66 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 4.102e-05/0.00437, allocations: 4 kB / 1.008 GB, free: 4.656 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.004372, allocations: 0 / 1.008 GB, free: 4.656 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 8.92e-07/0.004373, allocations: 0 / 1.008 GB, free: 4.656 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000243/0.004616, allocations: 459.6 kB / 1.008 GB, free: 4.203 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001937/0.00481, allocations: 189.8 kB / 1.008 GB, free: 3.984 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.678e-05/0.004847, allocations: 55.34 kB / 1.008 GB, free: 3.91 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.12e-05/0.004858, allocations: 12.44 kB / 1.008 GB, free: 3.895 MB / 0.9167 GB Notification: Performance of SimCode: time 4.91e-07/0.004858, allocations: 4 kB / 1.008 GB, free: 3.891 MB / 0.9167 GB Notification: Performance of Templates: time 0.001034/0.005893, allocations: 319.3 kB / 1.009 GB, free: 3.582 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.501148405484855]