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.001429/0.001429, allocations: 80.81 kB / 19.94 MB, free: 4.539 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.001854/0.001854, allocations: 181 kB / 23.36 MB, free: 1.125 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 1.049/1.049, allocations: 177.1 MB / 203.8 MB, free: 5.477 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 2.406/2.406, allocations: 438.8 MB / 0.6827 GB, free: 13.54 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/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.795e-06/2.795e-06, allocations: 0 / 0.8386 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.755e-05/3.035e-05, allocations: 8.359 kB / 0.8386 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.002036/0.002066, allocations: 0.5635 MB / 0.8392 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 5.439e-05/0.00212, allocations: 4 kB / 0.8392 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.997e-05/0.00215, allocations: 0 / 0.8392 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 4.155e-05/0.002192, allocations: 3.938 kB / 0.8392 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 3.974e-05/0.002232, allocations: 0 / 0.8392 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 4.047e-05/0.002272, allocations: 0 / 0.8392 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 6.747e-05/0.002339, allocations: 7.922 kB / 0.8392 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 4.838e-05/0.002388, allocations: 7.984 kB / 0.8392 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 3.478e-05/0.002423, allocations: 4 kB / 0.8392 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 2.548e-05/0.002448, allocations: 0 / 0.8392 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.002466, allocations: 4 kB / 0.8392 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 4.198e-06/0.00247, allocations: 0 / 0.8392 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.425e-05/0.002484, allocations: 0 / 0.8392 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.334e-05/0.002497, allocations: 0 / 0.8392 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 5.788e-05/0.002555, allocations: 4 kB / 0.8392 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.002558, allocations: 0 / 0.8392 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.393e-06/0.002559, allocations: 0 / 0.8392 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.636e-06/0.002563, allocations: 0 / 0.8392 GB, free: 13.54 MB / 0.8073 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.0002493/0.002812, allocations: 213.1 kB / 0.8394 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.002856, allocations: 8.625 kB / 0.8394 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.507e-05/0.002881, allocations: 4.938 kB / 0.8394 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.975e-05/0.00298, allocations: 105.8 kB / 0.8395 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.002992, allocations: 384 / 0.8395 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.003004, allocations: 4.375 kB / 0.8395 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.946e-05/0.003074, allocations: 30.2 kB / 0.8395 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.003084, allocations: 192 / 0.8395 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.003092, allocations: 4.375 kB / 0.8395 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.003099, allocations: 4.312 kB / 0.8395 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.008e-05/0.003109, allocations: 11.92 kB / 0.8396 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002203/0.003329, allocations: 286.9 kB / 0.8398 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 8.66e-05/0.003415, allocations: 173.1 kB / 0.84 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.299e-05/0.003448, allocations: 88.12 kB / 0.8401 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/0.003475, allocations: 79.28 kB / 0.8402 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.767e-05/0.003523, allocations: 105.8 kB / 0.8403 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.003524, allocations: 0 / 0.8403 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 6.697e-05/0.003591, allocations: 25.7 kB / 0.8403 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.783e-05/0.003658, allocations: 138.6 kB / 0.8404 GB, free: 12.17 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.656e-05/0.003735, allocations: 102.7 kB / 0.8405 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.082e-05/0.003746, allocations: 25.7 kB / 0.8405 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.005e-05/0.003786, allocations: 80.14 kB / 0.8406 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 9.71e-07/0.003787, allocations: 4.125 kB / 0.8406 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.988e-05/0.003817, allocations: 17.7 kB / 0.8406 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.003922, allocations: 310.8 kB / 0.8409 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.517e-06/0.003925, allocations: 0 / 0.8409 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.369e-06/0.00393, allocations: 0 / 0.8409 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.318e-05/0.003953, allocations: 75.28 kB / 0.841 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.371e-05/0.003976, allocations: 79.28 kB / 0.8411 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.25e-05/0.004029, allocations: 25.7 kB / 0.8411 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.731e-05/0.004066, allocations: 83.28 kB / 0.8412 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.821e-05/0.004094, allocations: 83.2 kB / 0.8413 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.323e-05/0.004148, allocations: 150.6 kB / 0.8414 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.999e-05/0.004178, allocations: 87.16 kB / 0.8415 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.854e-05/0.004226, allocations: 154.6 kB / 0.8416 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.431e-05/0.004291, allocations: 83.31 kB / 0.8417 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.451e-05/0.004315, allocations: 79.22 kB / 0.8418 GB, free: 10.71 MB / 0.8073 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.0001179/0.004433, allocations: 260.4 kB / 0.842 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.269e-05/0.004486, allocations: 105 kB / 0.8421 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.193e-05/0.004538, allocations: 111.9 kB / 0.8422 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.755e-05/0.004585, allocations: 176.3 kB / 0.8424 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.577e-05/0.004641, allocations: 180.2 kB / 0.8426 GB, free: 9.848 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.573e-05/0.004697, allocations: 184.2 kB / 0.8428 GB, free: 9.66 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001754/0.004872, allocations: 321.4 kB / 0.8431 GB, free: 9.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.562e-05/0.004908, allocations: 108.9 kB / 0.8432 GB, free: 9.207 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.691e-05/0.004944, allocations: 108.9 kB / 0.8433 GB, free: 9.094 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.255e-05/0.004997, allocations: 176.3 kB / 0.8434 GB, free: 8.914 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.585e-05/0.005053, allocations: 184.2 kB / 0.8436 GB, free: 8.727 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.386e-05/0.005107, allocations: 184.2 kB / 0.8438 GB, free: 8.539 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-05/0.005157, allocations: 180.6 kB / 0.844 GB, free: 8.355 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001284/0.005286, allocations: 315.7 kB / 0.8443 GB, free: 8.023 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.876e-05/0.005324, allocations: 105 kB / 0.8444 GB, free: 7.914 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.976e-05/0.005394, allocations: 176.3 kB / 0.8445 GB, free: 7.734 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.144e-05/0.005466, allocations: 112.9 kB / 0.8446 GB, free: 7.617 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.516e-05/0.005521, allocations: 180.3 kB / 0.8448 GB, free: 7.434 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.333e-05/0.005554, allocations: 104.9 kB / 0.8449 GB, free: 7.324 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.262e-05/0.005577, allocations: 12.8 kB / 0.8449 GB, free: 7.309 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5.1e-08/0.005577, allocations: 0 / 0.8449 GB, free: 7.309 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002519/0.005829, allocations: 0 / 0.8449 GB, free: 7.309 MB / 0.8073 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.0001377/0.005966, allocations: 155.7 kB / 0.8451 GB, free: 7.148 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 3.376e-05/0.006, allocations: 0 / 0.8451 GB, free: 7.148 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.006004, allocations: 0 / 0.8451 GB, free: 7.148 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.575e-06/0.006006, allocations: 8.094 kB / 0.8451 GB, free: 7.141 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002713/0.006278, allocations: 455.7 kB / 0.8455 GB, free: 6.691 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002132/0.006491, allocations: 154.9 kB / 0.8457 GB, free: 6.512 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.808e-05/0.006529, allocations: 59.34 kB / 0.8457 GB, free: 6.434 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.325e-06/0.006531, allocations: 0 / 0.8457 GB, free: 6.434 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.6e-05/0.006557, allocations: 47.38 kB / 0.8458 GB, free: 6.387 MB / 0.8073 GB Notification: Performance of SimCode: time 7.92e-07/0.006558, allocations: 0 / 0.8458 GB, free: 6.387 MB / 0.8073 GB Notification: Performance of Templates: time 0.001724/0.008282, allocations: 172.8 kB / 0.8459 GB, free: 6.219 MB / 0.8073 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.312914703041315]