Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009673/0.0009673, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001015/0.001015, allocations: 161 kB / 24.17 MB, free: 332 kB / 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.9856/0.9856, allocations: 177.2 MB / 204.6 MB, free: 5.266 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.907/1.907, allocations: 377.9 MB / 0.624 GB, free: 8.379 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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_12_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_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0.9844 kB / 0.76 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.462e-05/1.668e-05, allocations: 7.156 kB / 0.76 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.00109/0.001106, allocations: 0.5671 MB / 0.7606 GB, free: 6.078 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 6.143e-05/0.001168, allocations: 3.938 kB / 0.7606 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.764e-05/0.001195, allocations: 0 / 0.7606 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.048e-05/0.001226, allocations: 1.406 kB / 0.7606 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 3.571e-05/0.001262, allocations: 0.5469 kB / 0.7606 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 4.087e-05/0.001302, allocations: 4 kB / 0.7606 GB, free: 6.07 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.824e-05/0.001371, allocations: 8.969 kB / 0.7606 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.917e-05/0.00142, allocations: 0.5938 kB / 0.7606 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.798e-05/0.001458, allocations: 1.344 kB / 0.7606 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 2.998e-05/0.001488, allocations: 0.5469 kB / 0.7606 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.174e-05/0.00151, allocations: 0 / 0.7606 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.223e-06/0.001517, allocations: 4 kB / 0.7606 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.858e-05/0.001535, allocations: 1.859 kB / 0.7606 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.77e-05/0.001553, allocations: 0 / 0.7606 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 6.274e-05/0.001616, allocations: 5.109 kB / 0.7606 GB, free: 6.055 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.001618, allocations: 0 / 0.7606 GB, free: 6.055 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.61e-07/0.001618, allocations: 0 / 0.7606 GB, free: 6.055 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.447e-06/0.001622, allocations: 0.9688 kB / 0.7606 GB, free: 6.055 MB / 0.7136 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.0004293/0.002051, allocations: 209.4 kB / 0.7608 GB, free: 5.824 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.127e-05/0.002082, allocations: 12.03 kB / 0.7608 GB, free: 5.812 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.287e-05/0.002105, allocations: 5.719 kB / 0.7608 GB, free: 5.809 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.145e-05/0.002177, allocations: 114.9 kB / 0.7609 GB, free: 5.672 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-06/0.002185, allocations: 4.375 kB / 0.761 GB, free: 5.668 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.785e-06/0.002193, allocations: 384 / 0.761 GB, free: 5.668 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.104e-05/0.002244, allocations: 28.8 kB / 0.761 GB, free: 5.637 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.102e-06/0.00225, allocations: 192 / 0.761 GB, free: 5.637 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.61e-06/0.002256, allocations: 384 / 0.761 GB, free: 5.637 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.002261, allocations: 384 / 0.761 GB, free: 5.637 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.731e-06/0.002267, allocations: 7.938 kB / 0.761 GB, free: 5.629 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001497/0.002416, allocations: 289 kB / 0.7613 GB, free: 5.332 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.951e-05/0.002476, allocations: 169.7 kB / 0.7614 GB, free: 5.156 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.961e-05/0.002496, allocations: 88.17 kB / 0.7615 GB, free: 5.066 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.002511, allocations: 75.28 kB / 0.7616 GB, free: 4.992 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.00254, allocations: 105.8 kB / 0.7617 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 1.233e-06/0.002541, allocations: 1.375 kB / 0.7617 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 4.25e-05/0.002583, allocations: 34.52 kB / 0.7617 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/0.002629, allocations: 130.6 kB / 0.7618 GB, free: 4.699 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.025e-05/0.002679, allocations: 95.97 kB / 0.7619 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.494e-06/0.002687, allocations: 25.7 kB / 0.762 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.558e-05/0.002712, allocations: 84.14 kB / 0.762 GB, free: 4.477 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.12e-07/0.002713, allocations: 0 / 0.762 GB, free: 4.477 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.552e-05/0.002728, allocations: 14.95 kB / 0.7621 GB, free: 4.457 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.347e-05/0.002792, allocations: 314.8 kB / 0.7624 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.615e-06/0.002795, allocations: 1.094 kB / 0.7624 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.566e-06/0.002798, allocations: 4.75 kB / 0.7624 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.712e-05/0.002815, allocations: 75.28 kB / 0.7624 GB, free: 4.062 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.602e-05/0.002831, allocations: 75.81 kB / 0.7625 GB, free: 3.988 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0) (initialization): time 2.791e-05/0.002859, allocations: 30.36 kB / 0.7625 GB, free: 3.953 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.002884, allocations: 85 kB / 0.7626 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.669e-05/0.0029, allocations: 76.5 kB / 0.7627 GB, free: 3.797 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.678e-05/0.002937, allocations: 154.6 kB / 0.7628 GB, free: 3.645 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.04e-05/0.002958, allocations: 87.28 kB / 0.7629 GB, free: 3.559 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.158e-05/0.002989, allocations: 161.8 kB / 0.7631 GB, free: 3.402 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.055e-05/0.00303, allocations: 80.42 kB / 0.7631 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.618e-05/0.003046, allocations: 83.31 kB / 0.7632 GB, free: 3.242 MB / 0.7136 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 6.902e-05/0.003115, allocations: 256.4 kB / 0.7635 GB, free: 2.98 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.199e-05/0.003147, allocations: 109 kB / 0.7636 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.427e-05/0.003181, allocations: 107.9 kB / 0.7637 GB, free: 2.754 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-05/0.003216, allocations: 184.2 kB / 0.7639 GB, free: 2.566 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.864e-05/0.003254, allocations: 188.1 kB / 0.764 GB, free: 2.375 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.489e-05/0.003289, allocations: 179.2 kB / 0.7642 GB, free: 2.195 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001111/0.0034, allocations: 321.4 kB / 0.7645 GB, free: 1.855 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.129e-05/0.003422, allocations: 105 kB / 0.7646 GB, free: 1.746 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.112e-05/0.003443, allocations: 101 kB / 0.7647 GB, free: 1.641 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.813e-05/0.003481, allocations: 185.1 kB / 0.7649 GB, free: 1.453 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.728e-05/0.003518, allocations: 176.3 kB / 0.765 GB, free: 1.273 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.649e-05/0.003555, allocations: 184.2 kB / 0.7652 GB, free: 1.086 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.54e-05/0.00359, allocations: 184.3 kB / 0.7654 GB, free: 0.8984 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.878e-05/0.003679, allocations: 309.2 kB / 0.7657 GB, free: 0.5742 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.593e-05/0.003705, allocations: 101 kB / 0.7658 GB, free: 480 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.149e-05/0.003746, allocations: 184.2 kB / 0.766 GB, free: 288 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.196e-05/0.003788, allocations: 109 kB / 0.7661 GB, free: 172 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.844e-05/0.003837, allocations: 181.7 kB / 0.7662 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-05/0.00386, allocations: 109.2 kB / 0.7663 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.077e-05/0.003871, allocations: 9.547 kB / 0.7664 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.003871, allocations: 0.75 kB / 0.7664 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000126/0.003997, allocations: 0 / 0.7664 GB, free: 15.86 MB / 0.7292 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 8.117e-05/0.004078, allocations: 152.4 kB / 0.7665 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 2.683e-05/0.004105, allocations: 1.672 kB / 0.7665 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.004108, allocations: 4 kB / 0.7665 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.002e-06/0.004109, allocations: 2.703 kB / 0.7665 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001724/0.004281, allocations: 463.5 kB / 0.767 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001429/0.004424, allocations: 159.4 kB / 0.7671 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.565e-05/0.00445, allocations: 51.36 kB / 0.7672 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.414e-06/0.004452, allocations: 0.9844 kB / 0.7672 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.682e-05/0.004469, allocations: 47.38 kB / 0.7672 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of SimCode: time 3.91e-07/0.004469, allocations: 3.125 kB / 0.7672 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of Templates: time 0.001169/0.005638, allocations: 172.9 kB / 0.7674 GB, free: 14.77 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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: 4.997810026165098]