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.001037/0.001037, allocations: 93.06 kB / 19.65 MB, free: 276 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.001045/0.001045, allocations: 169 kB / 23.02 MB, free: 1.547 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.9783/0.9783, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.166/2.166, allocations: 429.5 MB / 0.6733 GB, free: 4.02 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 3.496e-06/3.496e-06, allocations: 0 / 0.8782 GB, free: 6.234 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.705e-05/3.055e-05, allocations: 3.125 kB / 0.8782 GB, free: 6.23 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.001579/0.00161, allocations: 0.7237 MB / 0.8789 GB, free: 5.531 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0007543/0.002364, allocations: 0.8524 MB / 0.8798 GB, free: 4.668 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.299e-05/0.002397, allocations: 0.6562 kB / 0.8798 GB, free: 4.668 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.457e-05/0.002432, allocations: 5.812 kB / 0.8798 GB, free: 4.664 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.142e-05/0.002503, allocations: 10.06 kB / 0.8798 GB, free: 4.656 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001073/0.00261, allocations: 15.98 kB / 0.8798 GB, free: 4.641 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.012e-05/0.00269, allocations: 39.91 kB / 0.8798 GB, free: 4.602 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.408e-05/0.002785, allocations: 16.95 kB / 0.8799 GB, free: 4.586 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.812e-05/0.002863, allocations: 19.98 kB / 0.8799 GB, free: 4.566 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.087e-05/0.002903, allocations: 17.03 kB / 0.8799 GB, free: 4.551 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.184e-05/0.002925, allocations: 4 kB / 0.8799 GB, free: 4.547 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.247e-06/0.002935, allocations: 4 kB / 0.8799 GB, free: 4.543 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.757e-05/0.002952, allocations: 9.031 kB / 0.8799 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.21e-05/0.002974, allocations: 8 kB / 0.8799 GB, free: 4.527 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.066e-05/0.003065, allocations: 39.81 kB / 0.88 GB, free: 4.488 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.105e-06/0.003068, allocations: 1.125 kB / 0.88 GB, free: 4.488 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.02e-07/0.003069, allocations: 0 / 0.88 GB, free: 4.488 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.003074, allocations: 0 / 0.88 GB, free: 4.488 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.0003622/0.003436, allocations: 381.5 kB / 0.8803 GB, free: 4.078 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.003473, allocations: 8.031 kB / 0.8803 GB, free: 4.07 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.001e-05/0.003513, allocations: 7.406 kB / 0.8803 GB, free: 4.066 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.003633, allocations: 120.5 kB / 0.8805 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.003643, allocations: 384 / 0.8805 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.031e-05/0.003653, allocations: 384 / 0.8805 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.003786, allocations: 66.94 kB / 0.8805 GB, free: 3.848 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.003793, allocations: 192 / 0.8805 GB, free: 3.848 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.003801, allocations: 2.438 kB / 0.8805 GB, free: 3.848 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.003808, allocations: 384 / 0.8805 GB, free: 3.848 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.363e-05/0.003842, allocations: 19.92 kB / 0.8805 GB, free: 3.828 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002828/0.004124, allocations: 259.9 kB / 0.8808 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.488e-05/0.004189, allocations: 31 kB / 0.8808 GB, free: 3.496 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.501e-05/0.004214, allocations: 12.41 kB / 0.8808 GB, free: 3.48 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.749e-05/0.004232, allocations: 4.078 kB / 0.8808 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/0.004253, allocations: 43.05 kB / 0.8809 GB, free: 3.426 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.004255, allocations: 0 / 0.8809 GB, free: 3.426 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.000172/0.004427, allocations: 57.64 kB / 0.8809 GB, free: 3.363 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.995e-05/0.004457, allocations: 55.41 kB / 0.881 GB, free: 3.297 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.922e-05/0.004526, allocations: 170.4 kB / 0.8811 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.004537, allocations: 27.58 kB / 0.8812 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.958e-05/0.004577, allocations: 130.9 kB / 0.8813 GB, free: 2.949 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.845e-05/0.004595, allocations: 11.91 kB / 0.8813 GB, free: 2.938 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.568e-05/0.004621, allocations: 23.31 kB / 0.8813 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.988e-05/0.004721, allocations: 0.4923 MB / 0.8818 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.617e-05/0.004737, allocations: 1.188 kB / 0.8818 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.342e-05/0.00475, allocations: 4 kB / 0.8818 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.24e-05/0.004783, allocations: 15.69 kB / 0.8818 GB, free: 2.379 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.004785, allocations: 0 / 0.8818 GB, free: 2.379 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.822e-05/0.004843, allocations: 47.22 kB / 0.8819 GB, free: 2.328 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.004856, allocations: 10.28 kB / 0.8819 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.00486, allocations: 4 kB / 0.8819 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.004872, allocations: 0 / 0.8819 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.889e-05/0.004951, allocations: 15.98 kB / 0.8819 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.004955, allocations: 0 / 0.8819 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.352e-05/0.004979, allocations: 8 kB / 0.8819 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-06/0.004988, allocations: 3.984 kB / 0.8819 GB, free: 2.289 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 5.426e-05/0.005042, allocations: 156.6 kB / 0.8821 GB, free: 2.125 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.398e-05/0.005056, allocations: 3.953 kB / 0.8821 GB, free: 2.121 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.808e-05/0.005144, allocations: 57.56 kB / 0.8821 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.005146, allocations: 0 / 0.8821 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.005149, allocations: 0 / 0.8821 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.005153, allocations: 7.984 kB / 0.8821 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.642e-05/0.00524, allocations: 128.6 kB / 0.8823 GB, free: 1.891 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.005241, allocations: 0 / 0.8823 GB, free: 1.891 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.427e-05/0.005275, allocations: 8 kB / 0.8823 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.005277, allocations: 0 / 0.8823 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.005284, allocations: 0 / 0.8823 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.005285, allocations: 3.938 kB / 0.8823 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.005287, allocations: 0 / 0.8823 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.837e-05/0.005375, allocations: 196 kB / 0.8825 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.314e-06/0.005382, allocations: 7.938 kB / 0.8825 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.556e-06/0.005391, allocations: 0 / 0.8825 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.52e-05/0.005426, allocations: 11.94 kB / 0.8825 GB, free: 1.648 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.005466, allocations: 11.98 kB / 0.8825 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.005469, allocations: 7.938 kB / 0.8825 GB, free: 1.629 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.315e-05/0.005502, allocations: 123.2 kB / 0.8826 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.005503, allocations: 0 / 0.8826 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001319/0.005634, allocations: 8 kB / 0.8826 GB, free: 1.5 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 7.884e-05/0.005713, allocations: 99.17 kB / 0.8827 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.459e-05/0.005798, allocations: 19.97 kB / 0.8827 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.052e-06/0.005799, allocations: 0 / 0.8827 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.278e-05/0.005822, allocations: 23.77 kB / 0.8828 GB, free: 1.34 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001799/0.006002, allocations: 8 kB / 0.8828 GB, free: 1.332 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002565/0.006258, allocations: 130.3 kB / 0.8829 GB, free: 1.176 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.581e-05/0.006294, allocations: 59.3 kB / 0.8829 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.886e-05/0.006313, allocations: 3.984 kB / 0.8829 GB, free: 1.094 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.772e-05/0.006341, allocations: 12.5 kB / 0.883 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of SimCode: time 9.32e-07/0.006341, allocations: 4 kB / 0.883 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of Templates: time 0.002308/0.008649, allocations: 0.787 MB / 0.8837 GB, free: 312 kB / 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.348492193035781]