Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.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.001352/0.001352, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.001575/0.001575, allocations: 169 kB / 24.06 MB, free: 456 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.9791/0.9791, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.139/2.139, allocations: 429.5 MB / 0.6743 GB, free: 3.895 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.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|round1.u|round1.y|round2.u|round2.y|round3.u|round3.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|round1.u|round1.y|round2.u|round2.y|round3.u|round3.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.953e-06/1.953e-06, allocations: 0 / 0.8795 GB, free: 5.914 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.913e-05/3.108e-05, allocations: 4.984 kB / 0.8795 GB, free: 5.91 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.001559/0.00159, allocations: 0.7652 MB / 0.8802 GB, free: 5.172 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009329/0.002523, allocations: 0.8837 MB / 0.8811 GB, free: 4.277 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.637e-05/0.00258, allocations: 1.766 kB / 0.8811 GB, free: 4.277 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.631e-05/0.002616, allocations: 3.938 kB / 0.8811 GB, free: 4.273 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001082/0.002724, allocations: 13.61 kB / 0.8811 GB, free: 4.262 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001623/0.002887, allocations: 37.12 kB / 0.8811 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001019/0.002988, allocations: 75.81 kB / 0.8812 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.003108, allocations: 16 kB / 0.8812 GB, free: 4.137 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.92e-05/0.003207, allocations: 39.19 kB / 0.8813 GB, free: 4.102 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.703e-05/0.003274, allocations: 35.94 kB / 0.8813 GB, free: 4.066 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.656e-05/0.0033, allocations: 8 kB / 0.8813 GB, free: 4.059 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.135e-05/0.003312, allocations: 4 kB / 0.8813 GB, free: 4.055 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.938e-05/0.003341, allocations: 19.92 kB / 0.8813 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.898e-05/0.00337, allocations: 23.91 kB / 0.8813 GB, free: 4.012 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001097/0.00348, allocations: 55.8 kB / 0.8814 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.003482, allocations: 0 / 0.8814 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of FrontEnd: time 4.61e-07/0.003483, allocations: 0 / 0.8814 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.003487, allocations: 0.5938 kB / 0.8814 GB, free: 3.957 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003999/0.003887, allocations: 394 kB / 0.8818 GB, free: 3.535 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.003923, allocations: 12.03 kB / 0.8818 GB, free: 3.523 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.28e-05/0.003955, allocations: 12.89 kB / 0.8818 GB, free: 3.512 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.136e-05/0.004047, allocations: 120.5 kB / 0.8819 GB, free: 3.367 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.004064, allocations: 4.875 kB / 0.8819 GB, free: 3.363 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.367e-06/0.004074, allocations: 5.688 kB / 0.8819 GB, free: 3.359 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.004206, allocations: 82.84 kB / 0.882 GB, free: 3.27 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.004214, allocations: 192 / 0.882 GB, free: 3.27 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.004222, allocations: 1.25 kB / 0.882 GB, free: 3.27 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.004227, allocations: 4.375 kB / 0.882 GB, free: 3.266 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.986e-05/0.004267, allocations: 21.27 kB / 0.882 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002892/0.004556, allocations: 288.2 kB / 0.8823 GB, free: 2.938 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.49e-05/0.004651, allocations: 56.5 kB / 0.8824 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.631e-05/0.004678, allocations: 11.72 kB / 0.8824 GB, free: 2.855 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.224e-05/0.00469, allocations: 4 kB / 0.8824 GB, free: 2.852 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.004711, allocations: 45.27 kB / 0.8824 GB, free: 2.797 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.004713, allocations: 0 / 0.8824 GB, free: 2.797 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0001518/0.004864, allocations: 69.73 kB / 0.8825 GB, free: 2.723 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/0.004894, allocations: 51.41 kB / 0.8825 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.137e-05/0.004966, allocations: 177.9 kB / 0.8827 GB, free: 2.469 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/0.004977, allocations: 29.7 kB / 0.8827 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.809e-05/0.005025, allocations: 134.8 kB / 0.8829 GB, free: 2.297 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.546e-05/0.005051, allocations: 31.77 kB / 0.8829 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.128e-05/0.005082, allocations: 19.38 kB / 0.8829 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.005195, allocations: 0.4923 MB / 0.8834 GB, free: 1.734 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.038e-05/0.005215, allocations: 8 kB / 0.8834 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.901e-05/0.005234, allocations: 11.92 kB / 0.8834 GB, free: 1.715 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.201e-05/0.005276, allocations: 23.69 kB / 0.8834 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.005278, allocations: 0 / 0.8834 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.394e-05/0.005362, allocations: 70 kB / 0.8835 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.005376, allocations: 8.047 kB / 0.8835 GB, free: 1.605 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.005381, allocations: 7.984 kB / 0.8835 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.726e-06/0.005389, allocations: 4 kB / 0.8835 GB, free: 1.594 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.646e-05/0.005466, allocations: 15.98 kB / 0.8835 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.056e-06/0.005469, allocations: 4 kB / 0.8835 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.826e-05/0.005497, allocations: 7.938 kB / 0.8835 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.95e-06/0.005502, allocations: 0 / 0.8835 GB, free: 1.566 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 (6): * Single equations (assignments): 6 * 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.715e-05/0.005569, allocations: 156.6 kB / 0.8837 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.412e-05/0.005593, allocations: 11.89 kB / 0.8837 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.304e-05/0.005616, allocations: 16.42 kB / 0.8837 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-06/0.005618, allocations: 0 / 0.8837 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.005619, allocations: 0 / 0.8837 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.005623, allocations: 0 / 0.8837 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001062/0.005729, allocations: 113.2 kB / 0.8838 GB, free: 1.238 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.00573, allocations: 4 kB / 0.8838 GB, free: 1.234 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.309e-05/0.005773, allocations: 15.98 kB / 0.8838 GB, free: 1.219 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.005774, allocations: 0 / 0.8838 GB, free: 1.219 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.779e-06/0.005779, allocations: 0 / 0.8838 GB, free: 1.219 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.00578, allocations: 3.938 kB / 0.8839 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.005781, allocations: 0 / 0.8839 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001256/0.005906, allocations: 219.8 kB / 0.8841 GB, free: 0.9805 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.387e-06/0.005916, allocations: 7.953 kB / 0.8841 GB, free: 0.9727 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.025e-05/0.005926, allocations: 0 / 0.8841 GB, free: 0.9727 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.368e-05/0.00597, allocations: 11.92 kB / 0.8841 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.347e-05/0.006013, allocations: 19.98 kB / 0.8841 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-06/0.006017, allocations: 0 / 0.8841 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.176e-05/0.006059, allocations: 131.2 kB / 0.8842 GB, free: 0.8125 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4e-08/0.006059, allocations: 0 / 0.8842 GB, free: 0.8125 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001464/0.006205, allocations: 12 kB / 0.8842 GB, free: 0.8008 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 (6): * Single equations (assignments): 6 * 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.141e-05/0.006287, allocations: 99.17 kB / 0.8843 GB, free: 0.6953 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.977e-05/0.006377, allocations: 35.61 kB / 0.8844 GB, free: 0.6562 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.006378, allocations: 0 / 0.8844 GB, free: 0.6562 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.872e-05/0.006417, allocations: 35.86 kB / 0.8844 GB, free: 0.6172 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000191/0.006608, allocations: 9.375 kB / 0.8844 GB, free: 0.6094 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002674/0.006875, allocations: 176.2 kB / 0.8846 GB, free: 420 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.44e-05/0.006909, allocations: 63.34 kB / 0.8846 GB, free: 336 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.167e-05/0.006941, allocations: 8 kB / 0.8846 GB, free: 328 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.684e-05/0.007008, allocations: 82.19 kB / 0.8847 GB, free: 244 kB / 0.8386 GB Notification: Performance of SimCode: time 7.62e-07/0.007009, allocations: 0 / 0.8847 GB, free: 244 kB / 0.8386 GB Notification: Performance of Templates: time 0.002814/0.009823, allocations: 1.475 MB / 0.8862 GB, free: 14.78 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Round.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.304880287032574]