Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001041/0.001041, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.0009137/0.0009137, allocations: 181 kB / 24.09 MB, free: 420 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.9065/0.9065, allocations: 177.1 MB / 204.5 MB, free: 5.492 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.774/1.774, allocations: 359 MB / 0.6055 GB, free: 10.88 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.Reals.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.445e-06/2.445e-06, allocations: 3.984 kB / 0.7876 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.68e-05/1.925e-05, allocations: 2.312 kB / 0.7876 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.001437/0.001457, allocations: 0.7087 MB / 0.7883 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003884/0.00534, allocations: 0.8523 MB / 0.7891 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.853e-05/0.005379, allocations: 0.7188 kB / 0.7892 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.678e-05/0.005406, allocations: 3.938 kB / 0.7892 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.98e-05/0.005476, allocations: 12.72 kB / 0.7892 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 9.426e-05/0.00557, allocations: 12.72 kB / 0.7892 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.061e-05/0.00564, allocations: 43.86 kB / 0.7892 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.982e-05/0.00572, allocations: 5.25 kB / 0.7892 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.168e-05/0.005802, allocations: 31.95 kB / 0.7893 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.104e-05/0.005843, allocations: 15.98 kB / 0.7893 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.00586, allocations: 3.938 kB / 0.7893 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.246e-06/0.005869, allocations: 5.625 kB / 0.7893 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.934e-05/0.005888, allocations: 11.98 kB / 0.7893 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.076e-05/0.005909, allocations: 8 kB / 0.7893 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 7.401e-05/0.005983, allocations: 31.83 kB / 0.7893 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.005984, allocations: 1.219 kB / 0.7893 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.32e-07/0.005985, allocations: 0 / 0.7893 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.126e-06/0.005988, allocations: 0 / 0.7893 GB, free: 10.39 MB / 0.7448 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.0003128/0.006301, allocations: 373.2 kB / 0.7897 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.006338, allocations: 13.44 kB / 0.7897 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.57e-05/0.006364, allocations: 4.891 kB / 0.7897 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.412e-05/0.006448, allocations: 124.4 kB / 0.7898 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.779e-06/0.006458, allocations: 4.375 kB / 0.7898 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.294e-06/0.006465, allocations: 5.219 kB / 0.7898 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.006582, allocations: 58.94 kB / 0.7899 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.006589, allocations: 0.75 kB / 0.7899 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/0.006599, allocations: 13.05 kB / 0.7899 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.006605, allocations: 4.375 kB / 0.7899 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.277e-05/0.006628, allocations: 8.844 kB / 0.7899 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002279/0.006856, allocations: 244.4 kB / 0.7901 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.299e-05/0.006909, allocations: 35.69 kB / 0.7902 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.798e-05/0.006927, allocations: 13.34 kB / 0.7902 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.626e-05/0.006943, allocations: 0 / 0.7902 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.006965, allocations: 37.39 kB / 0.7902 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.006966, allocations: 0 / 0.7902 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001297/0.007095, allocations: 55 kB / 0.7903 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.302e-05/0.007118, allocations: 51.41 kB / 0.7903 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.161e-05/0.00719, allocations: 165.9 kB / 0.7905 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.007201, allocations: 29.64 kB / 0.7905 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.097e-05/0.007242, allocations: 136.4 kB / 0.7906 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.539e-05/0.007258, allocations: 7.953 kB / 0.7907 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.261e-05/0.00729, allocations: 23.36 kB / 0.7907 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.003115/0.01041, allocations: 496.1 kB / 0.7912 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.633e-05/0.01042, allocations: 0.9688 kB / 0.7912 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.171e-05/0.01043, allocations: 4 kB / 0.7912 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.157e-05/0.01046, allocations: 19.67 kB / 0.7912 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.01047, allocations: 3.281 kB / 0.7912 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.253e-05/0.01054, allocations: 45.59 kB / 0.7912 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.01055, allocations: 4 kB / 0.7912 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.01055, allocations: 0 / 0.7912 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.01057, allocations: 11.92 kB / 0.7912 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.846e-05/0.01063, allocations: 8 kB / 0.7912 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.414e-06/0.01064, allocations: 0 / 0.7912 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.729e-05/0.01066, allocations: 7.984 kB / 0.7913 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-06/0.01067, allocations: 0.7188 kB / 0.7913 GB, free: 8.238 MB / 0.7448 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 5.915e-05/0.01073, allocations: 157.1 kB / 0.7914 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.998e-05/0.01075, allocations: 5.094 kB / 0.7914 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.259e-05/0.01083, allocations: 53.61 kB / 0.7915 GB, free: 8.012 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.01083, allocations: 3.938 kB / 0.7915 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/0.01084, allocations: 4.594 kB / 0.7915 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.01084, allocations: 384 / 0.7915 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001104/0.01095, allocations: 101.7 kB / 0.7916 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.01095, allocations: 1.375 kB / 0.7916 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.673e-05/0.01099, allocations: 15.98 kB / 0.7916 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.01099, allocations: 0 / 0.7916 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.458e-06/0.01099, allocations: 0 / 0.7916 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.01099, allocations: 5.156 kB / 0.7916 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.01099, allocations: 3.984 kB / 0.7916 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.44e-05/0.01109, allocations: 195.9 kB / 0.7918 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.412e-06/0.0111, allocations: 4.875 kB / 0.7918 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.156e-05/0.01111, allocations: 11.98 kB / 0.7918 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.259e-05/0.01116, allocations: 9.562 kB / 0.7918 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.011e-05/0.01119, allocations: 7.922 kB / 0.7918 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.01119, allocations: 0 / 0.7918 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.975e-05/0.01123, allocations: 135.1 kB / 0.7919 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.01123, allocations: 2.312 kB / 0.7919 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001964/0.01143, allocations: 4 kB / 0.7919 GB, free: 7.477 MB / 0.7448 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 7.313e-05/0.0115, allocations: 103.2 kB / 0.792 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.254e-05/0.01156, allocations: 15.69 kB / 0.7921 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.01157, allocations: 0 / 0.7921 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.414e-05/0.01159, allocations: 23.05 kB / 0.7921 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002148/0.0118, allocations: 4 kB / 0.7921 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000227/0.01203, allocations: 126.2 kB / 0.7922 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.735e-05/0.01207, allocations: 59.34 kB / 0.7923 GB, free: 7.09 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.121e-05/0.01209, allocations: 4.688 kB / 0.7923 GB, free: 7.086 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.522e-05/0.01215, allocations: 70.2 kB / 0.7923 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of SimCode: time 4.81e-07/0.01215, allocations: 0.5 kB / 0.7923 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of Templates: time 0.002411/0.01456, allocations: 0.8061 MB / 0.7931 GB, free: 6.25 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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: 4.790550509933382]