Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.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.001119/0.001119, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001301/0.001301, allocations: 173 kB / 23.49 MB, free: 1.059 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.109/1.109, allocations: 177.1 MB / 203.8 MB, free: 5.617 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.053/2.053, allocations: 429.5 MB / 0.6736 GB, free: 4.031 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.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.068e-06/4.068e-06, allocations: 0 / 0.8783 GB, free: 6.578 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.991e-05/4.397e-05, allocations: 3.094 kB / 0.8783 GB, free: 6.574 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.002289/0.002333, allocations: 0.7195 MB / 0.879 GB, free: 5.879 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001332/0.003665, allocations: 0.8491 MB / 0.8798 GB, free: 5.02 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.624e-05/0.003721, allocations: 4 kB / 0.8798 GB, free: 5.016 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.159e-05/0.003763, allocations: 5.344 kB / 0.8798 GB, free: 5.012 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001024/0.003865, allocations: 6.906 kB / 0.8798 GB, free: 5.008 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001531/0.004018, allocations: 13.72 kB / 0.8798 GB, free: 4.996 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001196/0.004138, allocations: 50.69 kB / 0.8799 GB, free: 4.949 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.004267, allocations: 4 kB / 0.8799 GB, free: 4.945 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001226/0.004389, allocations: 29.06 kB / 0.8799 GB, free: 4.918 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.945e-05/0.004449, allocations: 15.97 kB / 0.8799 GB, free: 4.902 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.072e-05/0.004479, allocations: 4 kB / 0.8799 GB, free: 4.898 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.986e-05/0.004499, allocations: 8.594 kB / 0.8799 GB, free: 4.891 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.415e-05/0.004523, allocations: 4 kB / 0.8799 GB, free: 4.887 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.767e-05/0.004561, allocations: 12.7 kB / 0.8799 GB, free: 4.875 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001394/0.0047, allocations: 35.83 kB / 0.88 GB, free: 4.84 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.004706, allocations: 3.844 kB / 0.88 GB, free: 4.84 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.663e-06/0.004708, allocations: 0 / 0.88 GB, free: 4.84 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.614e-06/0.004715, allocations: 0 / 0.88 GB, free: 4.84 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.0005611/0.005276, allocations: 380.5 kB / 0.8803 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.768e-05/0.005334, allocations: 8.031 kB / 0.8803 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.874e-05/0.005393, allocations: 4.938 kB / 0.8804 GB, free: 4.418 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.005526, allocations: 120.5 kB / 0.8805 GB, free: 4.273 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.005542, allocations: 384 / 0.8805 GB, free: 4.273 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.344e-05/0.005556, allocations: 4.312 kB / 0.8805 GB, free: 4.27 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002261/0.005782, allocations: 68.41 kB / 0.8805 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.005791, allocations: 192 / 0.8805 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.005803, allocations: 384 / 0.8805 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.005813, allocations: 384 / 0.8805 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.163e-05/0.005865, allocations: 16.92 kB / 0.8806 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004461/0.006311, allocations: 259.9 kB / 0.8808 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/0.006424, allocations: 32.12 kB / 0.8808 GB, free: 3.848 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.305e-05/0.006467, allocations: 15.77 kB / 0.8808 GB, free: 3.828 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.401e-05/0.006491, allocations: 0 / 0.8808 GB, free: 3.828 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.675e-05/0.006527, allocations: 42.52 kB / 0.8809 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.663e-06/0.006529, allocations: 0 / 0.8809 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0002377/0.006767, allocations: 49.58 kB / 0.8809 GB, free: 3.723 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.006811, allocations: 56.38 kB / 0.881 GB, free: 3.656 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.006929, allocations: 169.9 kB / 0.8811 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.006945, allocations: 30.58 kB / 0.8812 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.292e-05/0.007008, allocations: 130.8 kB / 0.8813 GB, free: 3.305 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.813e-05/0.007036, allocations: 11.91 kB / 0.8813 GB, free: 3.293 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.367e-05/0.00708, allocations: 20 kB / 0.8813 GB, free: 3.266 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001631/0.007243, allocations: 0.4939 MB / 0.8818 GB, free: 2.762 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.023e-05/0.007273, allocations: 0 / 0.8818 GB, free: 2.762 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.167e-05/0.007295, allocations: 4 kB / 0.8818 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.255e-05/0.007348, allocations: 15.97 kB / 0.8818 GB, free: 2.738 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.007351, allocations: 0 / 0.8818 GB, free: 2.738 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001105/0.007462, allocations: 50.11 kB / 0.8819 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.007484, allocations: 9.719 kB / 0.8819 GB, free: 2.676 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.007492, allocations: 4 kB / 0.8819 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.00751, allocations: 0 / 0.8819 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.007652, allocations: 11.98 kB / 0.8819 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.007662, allocations: 4 kB / 0.8819 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.397e-05/0.007706, allocations: 12.7 kB / 0.8819 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.007716, allocations: 0.8125 kB / 0.8819 GB, free: 2.645 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 0.0001002/0.007816, allocations: 152.6 kB / 0.8821 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.839e-05/0.007845, allocations: 9.547 kB / 0.8821 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001736/0.008018, allocations: 53.62 kB / 0.8821 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.008021, allocations: 0 / 0.8821 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.008027, allocations: 0 / 0.8821 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.008033, allocations: 6.766 kB / 0.8821 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001674/0.008201, allocations: 132.5 kB / 0.8823 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.008208, allocations: 0 / 0.8823 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.939e-05/0.008288, allocations: 8 kB / 0.8823 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.008291, allocations: 0 / 0.8823 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.008302, allocations: 0 / 0.8823 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.008308, allocations: 3.938 kB / 0.8823 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.008309, allocations: 1.75 kB / 0.8823 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001778/0.008487, allocations: 196 kB / 0.8825 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.572e-05/0.008502, allocations: 7.938 kB / 0.8825 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.00852, allocations: 0 / 0.8825 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.332e-05/0.008603, allocations: 7.938 kB / 0.8825 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.802e-05/0.008661, allocations: 11.98 kB / 0.8825 GB, free: 2 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-06/0.008668, allocations: 4 kB / 0.8825 GB, free: 1.996 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.945e-05/0.008727, allocations: 123.2 kB / 0.8826 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.008727, allocations: 3.938 kB / 0.8826 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002479/0.008975, allocations: 11.94 kB / 0.8826 GB, free: 1.859 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 0.0001796/0.009155, allocations: 95.23 kB / 0.8827 GB, free: 1.754 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001399/0.009295, allocations: 19.69 kB / 0.8827 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.009298, allocations: 0 / 0.8827 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.404e-05/0.009332, allocations: 19.67 kB / 0.8828 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003268/0.009659, allocations: 8 kB / 0.8828 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004379/0.0101, allocations: 134.2 kB / 0.8829 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.362e-05/0.01015, allocations: 55.36 kB / 0.8829 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.978e-05/0.01018, allocations: 0 / 0.8829 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.254e-05/0.01022, allocations: 12.5 kB / 0.883 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of SimCode: time 1.583e-06/0.01022, allocations: 0 / 0.883 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of Templates: time 0.003397/0.01362, allocations: 0.7516 MB / 0.8837 GB, free: 0.7188 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Min.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.594036761904135]