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.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.001366/0.001366, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.00146/0.00146, allocations: 165 kB / 23.82 MB, free: 0.7461 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.9698/0.9698, allocations: 177.1 MB / 204.2 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.906/1.906, allocations: 359 MB / 0.6052 GB, free: 10.99 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_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 1.573e-06/1.573e-06, allocations: 0 / 0.7871 GB, free: 11.32 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.859e-05/2.016e-05, allocations: 2.312 kB / 0.7871 GB, free: 11.32 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001094/0.001114, allocations: 0.5516 MB / 0.7877 GB, free: 10.79 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 4.744e-05/0.001162, allocations: 8.938 kB / 0.7877 GB, free: 10.78 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.314e-05/0.001185, allocations: 0 / 0.7877 GB, free: 10.78 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.571e-05/0.001211, allocations: 0.75 kB / 0.7877 GB, free: 10.78 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.657e-05/0.001237, allocations: 0 / 0.7877 GB, free: 10.78 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 3.168e-05/0.001269, allocations: 0.5625 kB / 0.7877 GB, free: 10.78 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 5.266e-05/0.001322, allocations: 0 / 0.7877 GB, free: 10.78 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.502e-05/0.001367, allocations: 8.547 kB / 0.7877 GB, free: 10.77 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 3.442e-05/0.001401, allocations: 4.797 kB / 0.7877 GB, free: 10.77 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 2.354e-05/0.001425, allocations: 3.938 kB / 0.7877 GB, free: 10.77 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.466e-05/0.001439, allocations: 1.094 kB / 0.7877 GB, free: 10.77 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 3.537e-06/0.001443, allocations: 0 / 0.7877 GB, free: 10.77 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.175e-05/0.001455, allocations: 0 / 0.7877 GB, free: 10.77 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.769e-05/0.001472, allocations: 5.031 kB / 0.7877 GB, free: 10.76 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 5.517e-05/0.001527, allocations: 7.938 kB / 0.7877 GB, free: 10.75 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.973e-06/0.001529, allocations: 0 / 0.7877 GB, free: 10.75 MB / 0.698 GB Notification: Performance of FrontEnd: time 9.02e-07/0.00153, allocations: 0.5625 kB / 0.7877 GB, free: 10.75 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.001534, allocations: 0 / 0.7877 GB, free: 10.75 MB / 0.698 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.0002509/0.001785, allocations: 349.4 kB / 0.788 GB, free: 10.38 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.001822, allocations: 8.031 kB / 0.788 GB, free: 10.37 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.89e-05/0.001851, allocations: 0.9375 kB / 0.788 GB, free: 10.37 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.106e-05/0.001922, allocations: 110.2 kB / 0.7881 GB, free: 10.23 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-06/0.001931, allocations: 384 / 0.7881 GB, free: 10.23 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/0.001942, allocations: 4.375 kB / 0.7881 GB, free: 10.23 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.691e-05/0.002009, allocations: 31.48 kB / 0.7882 GB, free: 10.2 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.002017, allocations: 192 / 0.7882 GB, free: 10.2 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.665e-06/0.002024, allocations: 384 / 0.7882 GB, free: 10.2 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.002032, allocations: 4.375 kB / 0.7882 GB, free: 10.19 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.132e-05/0.002044, allocations: 8.562 kB / 0.7882 GB, free: 10.18 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002606/0.002304, allocations: 471.1 kB / 0.7886 GB, free: 9.688 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.999e-05/0.002394, allocations: 269.5 kB / 0.7889 GB, free: 9.41 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.612e-05/0.00243, allocations: 126.9 kB / 0.789 GB, free: 9.281 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.713e-05/0.002458, allocations: 119.8 kB / 0.7891 GB, free: 9.164 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.545e-05/0.002503, allocations: 162.1 kB / 0.7893 GB, free: 8.996 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 7.21e-07/0.002504, allocations: 0 / 0.7893 GB, free: 8.996 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 5.398e-05/0.002558, allocations: 29.64 kB / 0.7893 GB, free: 8.961 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.318e-05/0.002611, allocations: 170.6 kB / 0.7895 GB, free: 8.781 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.166e-05/0.002693, allocations: 161.5 kB / 0.7896 GB, free: 8.609 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.575e-06/0.0027, allocations: 29.7 kB / 0.7897 GB, free: 8.574 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.062e-05/0.002741, allocations: 126.9 kB / 0.7898 GB, free: 8.445 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.763e-06/0.002742, allocations: 0 / 0.7898 GB, free: 8.445 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.867e-05/0.002761, allocations: 15.38 kB / 0.7898 GB, free: 8.422 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.002874, allocations: 496.1 kB / 0.7903 GB, free: 7.926 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.471e-06/0.002879, allocations: 0 / 0.7903 GB, free: 7.926 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.447e-06/0.002883, allocations: 0 / 0.7903 GB, free: 7.926 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.403e-05/0.002917, allocations: 123.1 kB / 0.7904 GB, free: 7.805 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.739e-05/0.002944, allocations: 119.9 kB / 0.7905 GB, free: 7.688 MB / 0.698 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.654e-05/0.002981, allocations: 34.25 kB / 0.7905 GB, free: 7.648 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.868e-05/0.003019, allocations: 124.8 kB / 0.7906 GB, free: 7.527 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.079e-05/0.00305, allocations: 127.1 kB / 0.7908 GB, free: 7.402 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.489e-05/0.003125, allocations: 250.3 kB / 0.791 GB, free: 7.156 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.119e-05/0.003156, allocations: 119.3 kB / 0.7911 GB, free: 7.039 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.379e-05/0.00321, allocations: 247.2 kB / 0.7914 GB, free: 6.797 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.741e-05/0.003267, allocations: 119.2 kB / 0.7915 GB, free: 6.68 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.516e-05/0.003293, allocations: 123.2 kB / 0.7916 GB, free: 6.559 MB / 0.698 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.0001189/0.003411, allocations: 392 kB / 0.792 GB, free: 6.164 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.194e-05/0.003463, allocations: 160.8 kB / 0.7921 GB, free: 6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.763e-05/0.003521, allocations: 153.2 kB / 0.7923 GB, free: 5.84 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.513e-05/0.003586, allocations: 268 kB / 0.7925 GB, free: 5.57 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.546e-05/0.003662, allocations: 268.1 kB / 0.7928 GB, free: 5.301 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.966e-05/0.003721, allocations: 264.9 kB / 0.793 GB, free: 5.035 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000168/0.003889, allocations: 0.496 MB / 0.7935 GB, free: 4.496 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.428e-05/0.003924, allocations: 144.9 kB / 0.7936 GB, free: 4.348 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.325e-05/0.003957, allocations: 150 kB / 0.7938 GB, free: 4.195 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.277e-05/0.00402, allocations: 268.1 kB / 0.794 GB, free: 3.926 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.29e-05/0.004083, allocations: 268.1 kB / 0.7943 GB, free: 3.656 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.768e-05/0.00414, allocations: 272.9 kB / 0.7946 GB, free: 3.383 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.23e-05/0.004202, allocations: 268.1 kB / 0.7948 GB, free: 3.113 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001207/0.004323, allocations: 445.6 kB / 0.7952 GB, free: 2.652 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.039e-05/0.004364, allocations: 156.8 kB / 0.7954 GB, free: 2.492 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.921e-05/0.004433, allocations: 268.1 kB / 0.7956 GB, free: 2.223 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.429e-05/0.004487, allocations: 148.8 kB / 0.7958 GB, free: 2.07 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.568e-05/0.004553, allocations: 276.6 kB / 0.7961 GB, free: 1.793 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.543e-05/0.004588, allocations: 149.2 kB / 0.7962 GB, free: 1.641 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.815e-05/0.004626, allocations: 119.9 kB / 0.7963 GB, free: 1.523 MB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.004626, allocations: 0.6562 kB / 0.7963 GB, free: 1.523 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001525/0.004779, allocations: 3.984 kB / 0.7963 GB, free: 1.52 MB / 0.698 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.0001047/0.004884, allocations: 215.5 kB / 0.7965 GB, free: 1.301 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 4.087e-05/0.004924, allocations: 4.469 kB / 0.7965 GB, free: 1.297 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.004926, allocations: 1.344 kB / 0.7965 GB, free: 1.297 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.42e-07/0.004927, allocations: 0 / 0.7965 GB, free: 1.297 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003048/0.005232, allocations: 0.7061 MB / 0.7972 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001996/0.005431, allocations: 217.2 kB / 0.7974 GB, free: 356 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.133e-05/0.005463, allocations: 59.28 kB / 0.7975 GB, free: 276 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.813e-06/0.005464, allocations: 0 / 0.7975 GB, free: 276 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.968e-06/0.005474, allocations: 9.031 kB / 0.7975 GB, free: 268 kB / 0.698 GB Notification: Performance of SimCode: time 5.81e-07/0.005475, allocations: 0 / 0.7975 GB, free: 268 kB / 0.698 GB Notification: Performance of Templates: time 0.001331/0.006806, allocations: 167.5 kB / 0.7976 GB, free: 104 kB / 0.698 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 240] 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","",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.297476483043283]