Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.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.001354/0.001354, allocations: 82.05 kB / 19.87 MB, free: 4.617 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.001564/0.001564, allocations: 173.7 kB / 23.28 MB, free: 1.215 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.9728/0.9728, allocations: 177.1 MB / 203.7 MB, free: 5.527 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.423/2.423, allocations: 438.1 MB / 0.682 GB, free: 14.18 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.Reals.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.095e-06/3.095e-06, allocations: 0 / 0.8898 GB, free: 9.719 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.857e-05/3.167e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.715 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.002299/0.002331, allocations: 0.7211 MB / 0.8905 GB, free: 8.996 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001375/0.003706, allocations: 0.847 MB / 0.8913 GB, free: 8.137 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.857e-05/0.003764, allocations: 3.938 kB / 0.8913 GB, free: 8.133 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.914e-05/0.003804, allocations: 0 / 0.8913 GB, free: 8.133 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001022/0.003906, allocations: 11.92 kB / 0.8914 GB, free: 8.121 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001291/0.004035, allocations: 15.98 kB / 0.8914 GB, free: 8.105 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 9.391e-05/0.004129, allocations: 39.86 kB / 0.8914 GB, free: 8.066 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.004247, allocations: 15.97 kB / 0.8914 GB, free: 8.051 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.004355, allocations: 23.92 kB / 0.8914 GB, free: 8.027 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.773e-05/0.004403, allocations: 11.98 kB / 0.8915 GB, free: 8.016 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.017e-05/0.004423, allocations: 4 kB / 0.8915 GB, free: 8.012 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 1.198e-05/0.004435, allocations: 4 kB / 0.8915 GB, free: 8.008 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.392e-05/0.004459, allocations: 15.92 kB / 0.8915 GB, free: 7.992 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.536e-05/0.004484, allocations: 4 kB / 0.8915 GB, free: 7.988 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 9.745e-05/0.004582, allocations: 39.89 kB / 0.8915 GB, free: 7.949 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.766e-06/0.004585, allocations: 7.875 kB / 0.8915 GB, free: 7.941 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.052e-06/0.004586, allocations: 0 / 0.8915 GB, free: 7.941 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.00459, allocations: 0 / 0.8915 GB, free: 7.941 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004027/0.004992, allocations: 376.5 kB / 0.8919 GB, free: 7.535 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.005038, allocations: 8.625 kB / 0.8919 GB, free: 7.527 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.745e-05/0.005076, allocations: 8.891 kB / 0.8919 GB, free: 7.52 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.925e-05/0.005165, allocations: 120.5 kB / 0.892 GB, free: 7.375 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.005178, allocations: 4.375 kB / 0.892 GB, free: 7.371 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.005188, allocations: 4.375 kB / 0.892 GB, free: 7.367 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.00534, allocations: 66.94 kB / 0.8921 GB, free: 7.293 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.005347, allocations: 192 / 0.8921 GB, free: 7.293 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.83e-05/0.005385, allocations: 384 / 0.8921 GB, free: 7.293 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.005391, allocations: 384 / 0.8921 GB, free: 7.293 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.564e-05/0.005427, allocations: 11.88 kB / 0.8921 GB, free: 7.281 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002889/0.005716, allocations: 244.4 kB / 0.8923 GB, free: 7.016 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 6.461e-05/0.005781, allocations: 35.11 kB / 0.8924 GB, free: 6.969 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.129e-05/0.005802, allocations: 15.69 kB / 0.8924 GB, free: 6.949 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.005822, allocations: 0 / 0.8924 GB, free: 6.949 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.005845, allocations: 37.39 kB / 0.8924 GB, free: 6.902 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=3): time 1.021e-06/0.005846, allocations: 0 / 0.8924 GB, free: 6.902 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3): time 0.0001409/0.005986, allocations: 49.66 kB / 0.8925 GB, free: 6.848 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.135e-05/0.006018, allocations: 55.41 kB / 0.8925 GB, free: 6.781 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.119e-05/0.006099, allocations: 169.9 kB / 0.8927 GB, free: 6.598 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.00611, allocations: 25.7 kB / 0.8927 GB, free: 6.566 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.683e-05/0.006157, allocations: 126.9 kB / 0.8928 GB, free: 6.438 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.246e-05/0.006179, allocations: 19.88 kB / 0.8929 GB, free: 6.418 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.172e-05/0.006211, allocations: 19.38 kB / 0.8929 GB, free: 6.391 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.00635, allocations: 496.1 kB / 0.8933 GB, free: 5.895 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.302e-05/0.006363, allocations: 4 kB / 0.8933 GB, free: 5.891 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.564e-05/0.006379, allocations: 7.984 kB / 0.8934 GB, free: 5.883 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.535e-05/0.006414, allocations: 15.62 kB / 0.8934 GB, free: 5.863 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.006416, allocations: 0 / 0.8934 GB, free: 5.863 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.365e-05/0.006489, allocations: 45.69 kB / 0.8934 GB, free: 5.812 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.006502, allocations: 4 kB / 0.8934 GB, free: 5.809 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.006506, allocations: 0 / 0.8934 GB, free: 5.809 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.006519, allocations: 3.938 kB / 0.8934 GB, free: 5.805 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.014e-05/0.006599, allocations: 12.27 kB / 0.8934 GB, free: 5.793 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/0.006603, allocations: 4 kB / 0.8934 GB, free: 5.789 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.994e-05/0.006633, allocations: 11.98 kB / 0.8934 GB, free: 5.777 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.006639, allocations: 0 / 0.8934 GB, free: 5.777 MB / 0.8542 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 (3): * Single equations (assignments): 3 * 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.938e-05/0.006709, allocations: 156.6 kB / 0.8936 GB, free: 5.613 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.898e-05/0.006728, allocations: 7.953 kB / 0.8936 GB, free: 5.605 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001013/0.006829, allocations: 61.59 kB / 0.8937 GB, free: 5.531 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.006832, allocations: 3.938 kB / 0.8937 GB, free: 5.527 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-06/0.006834, allocations: 0 / 0.8937 GB, free: 5.527 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.006836, allocations: 4 kB / 0.8937 GB, free: 5.523 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000108/0.006944, allocations: 101.2 kB / 0.8938 GB, free: 5.398 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.006945, allocations: 0 / 0.8938 GB, free: 5.398 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.328e-05/0.006988, allocations: 12 kB / 0.8938 GB, free: 5.387 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.006991, allocations: 0 / 0.8938 GB, free: 5.387 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.006997, allocations: 4 kB / 0.8938 GB, free: 5.383 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.006999, allocations: 4 kB / 0.8938 GB, free: 5.379 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.007, allocations: 0 / 0.8938 GB, free: 5.379 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001109/0.007111, allocations: 199.8 kB / 0.894 GB, free: 5.164 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.456e-06/0.00712, allocations: 7.984 kB / 0.894 GB, free: 5.156 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.097e-06/0.007129, allocations: 0 / 0.894 GB, free: 5.156 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.259e-05/0.007181, allocations: 4 kB / 0.894 GB, free: 5.152 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.638e-05/0.007218, allocations: 15.92 kB / 0.894 GB, free: 5.137 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.007221, allocations: 0 / 0.894 GB, free: 5.137 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.138e-05/0.007262, allocations: 131.2 kB / 0.8941 GB, free: 5.008 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.007262, allocations: 0 / 0.8941 GB, free: 5.008 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001836/0.007446, allocations: 8 kB / 0.8941 GB, free: 5 MB / 0.8542 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 (3): * Single equations (assignments): 3 * 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.0001086/0.007554, allocations: 95.23 kB / 0.8942 GB, free: 4.898 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 6.821e-05/0.007623, allocations: 15.69 kB / 0.8942 GB, free: 4.879 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.007624, allocations: 0 / 0.8942 GB, free: 4.879 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.684e-05/0.007651, allocations: 23.61 kB / 0.8943 GB, free: 4.852 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002272/0.007878, allocations: 8 kB / 0.8943 GB, free: 4.844 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002697/0.008148, allocations: 133.4 kB / 0.8944 GB, free: 4.688 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.752e-05/0.008185, allocations: 55.36 kB / 0.8945 GB, free: 4.613 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.125e-05/0.008207, allocations: 0 / 0.8945 GB, free: 4.613 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.843e-05/0.008265, allocations: 78.19 kB / 0.8945 GB, free: 4.535 MB / 0.8542 GB Notification: Performance of SimCode: time 4.81e-07/0.008266, allocations: 3.938 kB / 0.8945 GB, free: 4.531 MB / 0.8542 GB Notification: Performance of Templates: time 0.002644/0.01091, allocations: 0.8148 MB / 0.8953 GB, free: 3.723 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Max.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.362525675911456]