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.001019/0.001019, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001146/0.001146, allocations: 165 kB / 23.01 MB, free: 1.555 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.038/1.038, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.178/2.178, allocations: 429.5 MB / 0.6732 GB, free: 4.035 MB / 0.6355 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 2.645e-06/2.645e-06, allocations: 0 / 0.8782 GB, free: 6.25 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.918e-05/3.182e-05, allocations: 6.844 kB / 0.8782 GB, free: 6.242 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.001513/0.001544, allocations: 0.7194 MB / 0.8789 GB, free: 5.547 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0008291/0.002373, allocations: 0.8537 MB / 0.8798 GB, free: 4.684 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.635e-05/0.00241, allocations: 0 / 0.8798 GB, free: 4.684 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.18e-05/0.002442, allocations: 4.594 kB / 0.8798 GB, free: 4.68 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.927e-05/0.002511, allocations: 14.88 kB / 0.8798 GB, free: 4.668 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 9.079e-05/0.002602, allocations: 11.67 kB / 0.8798 GB, free: 4.66 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.01e-05/0.002672, allocations: 47.84 kB / 0.8798 GB, free: 4.613 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 7.85e-05/0.00275, allocations: 11.92 kB / 0.8799 GB, free: 4.602 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.568e-05/0.002816, allocations: 23.98 kB / 0.8799 GB, free: 4.578 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.477e-05/0.002861, allocations: 15.98 kB / 0.8799 GB, free: 4.562 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.002879, allocations: 0 / 0.8799 GB, free: 4.562 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.388e-06/0.002888, allocations: 7.938 kB / 0.8799 GB, free: 4.555 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.062e-05/0.002909, allocations: 11.98 kB / 0.8799 GB, free: 4.543 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.498e-05/0.002934, allocations: 8 kB / 0.8799 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.515e-05/0.003029, allocations: 31.83 kB / 0.88 GB, free: 4.504 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.003031, allocations: 1.656 kB / 0.88 GB, free: 4.504 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.51e-07/0.003032, allocations: 0 / 0.88 GB, free: 4.504 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.003036, allocations: 0 / 0.88 GB, free: 4.504 MB / 0.8386 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.0003424/0.003379, allocations: 376.5 kB / 0.8803 GB, free: 4.098 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.003413, allocations: 9.031 kB / 0.8803 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.099e-05/0.003444, allocations: 8.938 kB / 0.8803 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.794e-05/0.003532, allocations: 120.5 kB / 0.8804 GB, free: 3.938 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.003543, allocations: 1.438 kB / 0.8805 GB, free: 3.938 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.378e-05/0.003556, allocations: 4.375 kB / 0.8805 GB, free: 3.934 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.003689, allocations: 68 kB / 0.8805 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.0037, allocations: 192 / 0.8805 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.003708, allocations: 384 / 0.8805 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.003716, allocations: 5.5 kB / 0.8805 GB, free: 3.855 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.374e-05/0.00375, allocations: 7.938 kB / 0.8805 GB, free: 3.848 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002701/0.00402, allocations: 259.8 kB / 0.8808 GB, free: 3.559 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.727e-05/0.004087, allocations: 39.88 kB / 0.8808 GB, free: 3.508 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.509e-05/0.004113, allocations: 14.25 kB / 0.8808 GB, free: 3.492 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.004132, allocations: 0 / 0.8808 GB, free: 3.492 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.933e-05/0.004151, allocations: 33.39 kB / 0.8809 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.004152, allocations: 0 / 0.8809 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001466/0.004299, allocations: 53.67 kB / 0.8809 GB, free: 3.391 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.653e-05/0.004326, allocations: 55.41 kB / 0.881 GB, free: 3.324 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.126e-05/0.004397, allocations: 165.9 kB / 0.8811 GB, free: 3.145 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.004407, allocations: 35.61 kB / 0.8812 GB, free: 3.105 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.201e-05/0.004449, allocations: 142.8 kB / 0.8813 GB, free: 2.961 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.694e-05/0.004466, allocations: 11.91 kB / 0.8813 GB, free: 2.949 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.727e-05/0.004493, allocations: 19.38 kB / 0.8813 GB, free: 2.922 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.004602, allocations: 496.1 kB / 0.8818 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.893e-05/0.004621, allocations: 8.703 kB / 0.8818 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.444e-05/0.004635, allocations: 4 kB / 0.8818 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.779e-05/0.004673, allocations: 17.34 kB / 0.8818 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.004674, allocations: 0 / 0.8818 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.02e-05/0.004745, allocations: 45.69 kB / 0.8819 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.004757, allocations: 10.59 kB / 0.8819 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.004762, allocations: 0 / 0.8819 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.004777, allocations: 0.8281 kB / 0.8819 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.497e-05/0.004852, allocations: 17.77 kB / 0.8819 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.004857, allocations: 0 / 0.8819 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.305e-05/0.00488, allocations: 4 kB / 0.8819 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.004887, allocations: 4 kB / 0.8819 GB, free: 2.312 MB / 0.8386 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.147e-05/0.004948, allocations: 157.1 kB / 0.8821 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.692e-05/0.004965, allocations: 12.97 kB / 0.8821 GB, free: 2.137 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.741e-05/0.005063, allocations: 53.61 kB / 0.8821 GB, free: 2.078 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.005064, allocations: 0 / 0.8821 GB, free: 2.078 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/0.005067, allocations: 1.594 kB / 0.8821 GB, free: 2.078 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.00507, allocations: 0 / 0.8821 GB, free: 2.078 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000103/0.005173, allocations: 124.6 kB / 0.8822 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.005175, allocations: 0 / 0.8822 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.8e-05/0.005213, allocations: 19.92 kB / 0.8823 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.005214, allocations: 0 / 0.8823 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.005221, allocations: 4 kB / 0.8823 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.005224, allocations: 7.938 kB / 0.8823 GB, free: 1.891 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.005225, allocations: 0 / 0.8823 GB, free: 1.891 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.843e-05/0.005324, allocations: 192 kB / 0.8825 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.396e-06/0.005332, allocations: 3.953 kB / 0.8825 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.09e-05/0.005343, allocations: 4 kB / 0.8825 GB, free: 1.676 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.792e-05/0.005381, allocations: 11.92 kB / 0.8825 GB, free: 1.664 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.427e-05/0.005415, allocations: 0 / 0.8825 GB, free: 1.664 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.005419, allocations: 3.984 kB / 0.8825 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001208/0.00554, allocations: 135.2 kB / 0.8826 GB, free: 1.527 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.00554, allocations: 3.938 kB / 0.8826 GB, free: 1.523 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001432/0.005683, allocations: 4 kB / 0.8826 GB, free: 1.52 MB / 0.8386 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 8.591e-05/0.005769, allocations: 95.25 kB / 0.8827 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.645e-05/0.005855, allocations: 27.61 kB / 0.8827 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.005857, allocations: 0 / 0.8827 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.217e-05/0.005879, allocations: 11.69 kB / 0.8827 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002424/0.006121, allocations: 11.98 kB / 0.8828 GB, free: 1.355 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003375/0.006459, allocations: 130.3 kB / 0.8829 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.486e-05/0.006494, allocations: 55.34 kB / 0.8829 GB, free: 1.125 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.92e-05/0.006513, allocations: 4 kB / 0.8829 GB, free: 1.121 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.144e-05/0.006544, allocations: 8.5 kB / 0.8829 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of SimCode: time 8.92e-07/0.006545, allocations: 3.938 kB / 0.8829 GB, free: 1.109 MB / 0.8386 GB Notification: Performance of Templates: time 0.002419/0.008964, allocations: 0.7591 MB / 0.8837 GB, free: 376 kB / 0.8386 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.700996446888894]