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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001679/0.001679, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001996/0.001996, allocations: 193.3 kB / 22.17 MB, free: 5.652 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 225.6 MB / 250.9 MB, free: 13.28 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.801/2.801, allocations: 476.7 MB / 0.7645 GB, free: 10.05 MB / 0.6231 GB " [Timeout remaining time 176] 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=2500,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=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002054, allocations: 67.89 kB / 1.109 GB, free: 6.492 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8734/0.8755, allocations: 168.7 MB / 1.274 GB, free: 4.379 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001935/0.8774, allocations: 0.5577 MB / 1.275 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 4.821e-05/0.8775, allocations: 0 / 1.275 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.426e-05/0.8775, allocations: 0 / 1.275 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.855e-05/0.8775, allocations: 0 / 1.275 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.897e-05/0.8776, allocations: 0 / 1.275 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 3.427e-05/0.8776, allocations: 0 / 1.275 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.346e-05/0.8777, allocations: 7.938 kB / 1.275 GB, free: 3.816 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 7.256e-05/0.8777, allocations: 11.97 kB / 1.275 GB, free: 3.805 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.333e-05/0.8777, allocations: 3.938 kB / 1.275 GB, free: 3.801 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 2.269e-05/0.8778, allocations: 0 / 1.275 GB, free: 3.801 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.285e-05/0.8778, allocations: 4 kB / 1.275 GB, free: 3.797 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.957e-06/0.8778, allocations: 0 / 1.275 GB, free: 3.797 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.694e-05/0.8778, allocations: 8 kB / 1.275 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.149e-05/0.8778, allocations: 3.938 kB / 1.275 GB, free: 3.785 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 6.912e-05/0.8779, allocations: 3.984 kB / 1.275 GB, free: 3.781 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.8779, allocations: 0 / 1.275 GB, free: 3.781 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.884e-06/0.8779, allocations: 0 / 1.275 GB, free: 3.781 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.8779, allocations: 0 / 1.275 GB, free: 3.781 MB / 0.9669 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.0004019/0.8783, allocations: 314.2 kB / 1.275 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.8784, allocations: 8.031 kB / 1.275 GB, free: 3.422 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.453e-05/0.8784, allocations: 8.938 kB / 1.275 GB, free: 3.414 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/0.8785, allocations: 172.3 kB / 1.275 GB, free: 3.207 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.8786, allocations: 384 / 1.275 GB, free: 3.207 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.005e-06/0.8786, allocations: 384 / 1.275 GB, free: 3.207 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.202e-05/0.8787, allocations: 26.27 kB / 1.275 GB, free: 3.176 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.8787, allocations: 7.938 kB / 1.275 GB, free: 3.168 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.8787, allocations: 0 / 1.275 GB, free: 3.168 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.8787, allocations: 0 / 1.275 GB, free: 3.168 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.643e-05/0.8787, allocations: 3.938 kB / 1.275 GB, free: 3.164 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003955/0.8791, allocations: 383.5 kB / 1.276 GB, free: 2.738 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/0.8792, allocations: 169.1 kB / 1.276 GB, free: 2.562 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.701e-05/0.8793, allocations: 80.14 kB / 1.276 GB, free: 2.48 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.82e-05/0.8793, allocations: 75.28 kB / 1.276 GB, free: 2.406 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.928e-05/0.8794, allocations: 117.9 kB / 1.276 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.8794, allocations: 3.938 kB / 1.276 GB, free: 2.277 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 8.487e-05/0.8795, allocations: 29.69 kB / 1.276 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.395e-05/0.8795, allocations: 126.7 kB / 1.276 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.8797, allocations: 93.86 kB / 1.276 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.8797, allocations: 25.7 kB / 1.276 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.711e-05/0.8797, allocations: 80.14 kB / 1.276 GB, free: 1.891 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.593e-06/0.8797, allocations: 4.125 kB / 1.276 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.066e-05/0.8797, allocations: 9.719 kB / 1.276 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.8799, allocations: 318.8 kB / 1.277 GB, free: 1.551 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.39e-06/0.8799, allocations: 0 / 1.277 GB, free: 1.551 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.286e-06/0.8799, allocations: 0 / 1.277 GB, free: 1.551 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.307e-05/0.8799, allocations: 75.28 kB / 1.277 GB, free: 1.477 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.55e-05/0.88, allocations: 79.22 kB / 1.277 GB, free: 1.398 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.069e-05/0.88, allocations: 37.62 kB / 1.277 GB, free: 1.355 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 5.34e-05/0.8801, allocations: 87.22 kB / 1.277 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.766e-05/0.8801, allocations: 79.31 kB / 1.277 GB, free: 1.191 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.473e-05/0.8802, allocations: 154.5 kB / 1.277 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.331e-05/0.8803, allocations: 79.28 kB / 1.277 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.77e-05/0.8803, allocations: 150.6 kB / 1.277 GB, free: 0.8125 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.85e-05/0.8804, allocations: 87.22 kB / 1.277 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.749e-05/0.8805, allocations: 79.28 kB / 1.277 GB, free: 0.6484 MB / 0.9669 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.0001559/0.8806, allocations: 268.9 kB / 1.278 GB, free: 384 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.56e-05/0.8807, allocations: 104.9 kB / 1.278 GB, free: 272 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.04e-05/0.8808, allocations: 109.6 kB / 1.278 GB, free: 160 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001172/0.8809, allocations: 184.3 kB / 1.278 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001139/0.881, allocations: 184.2 kB / 1.278 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.081e-05/0.8811, allocations: 180.2 kB / 1.278 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000338/0.8814, allocations: 405.1 kB / 1.279 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.655e-05/0.8815, allocations: 101 kB / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.192e-05/0.8815, allocations: 109 kB / 1.279 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.937e-05/0.8816, allocations: 180.2 kB / 1.279 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.209e-05/0.8817, allocations: 184.3 kB / 1.279 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.685e-05/0.8818, allocations: 184.2 kB / 1.28 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.812e-05/0.8819, allocations: 176.3 kB / 1.28 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001928/0.8821, allocations: 312.1 kB / 1.28 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.8822, allocations: 186 kB / 1.28 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.684e-05/0.8823, allocations: 184.2 kB / 1.28 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.904e-05/0.8824, allocations: 109 kB / 1.28 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.96e-05/0.8825, allocations: 184.2 kB / 1.281 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.361e-05/0.8825, allocations: 101 kB / 1.281 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.694e-05/0.8826, allocations: 79.28 kB / 1.281 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.8826, allocations: 4.094 kB / 1.281 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002846/0.8829, allocations: 0 / 1.281 GB, free: 12.98 MB / 0.9825 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.0001691/0.883, allocations: 170.5 kB / 1.281 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 4.018e-05/0.8831, allocations: 7.984 kB / 1.281 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.8831, allocations: 0 / 1.281 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.156e-06/0.8831, allocations: 3.938 kB / 1.281 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005226/0.8836, allocations: 465.8 kB / 1.281 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002485/0.8838, allocations: 160.2 kB / 1.282 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003024/0.8841, allocations: 0.6729 MB / 1.282 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.074e-06/0.8841, allocations: 0 / 1.282 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.778e-05/0.8842, allocations: 7.438 kB / 1.282 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of SimCode: time 3.41e-07/0.8842, allocations: 0 / 1.282 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of Templates: time 0.002267/0.8864, allocations: 172.8 kB / 1.282 GB, free: 11.27 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile [Timeout 300] (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=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 400] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.950414665043354]