Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.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.001059/0.001059, allocations: 92.22 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.001642/0.001642, allocations: 173 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 1.014/1.014, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.097/2.097, allocations: 429.5 MB / 0.6733 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.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.288e-06/4.288e-06, allocations: 4 kB / 0.8782 GB, free: 6.207 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.003e-05/3.431e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.203 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.002025/0.002059, allocations: 0.7205 MB / 0.879 GB, free: 5.508 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001158/0.003217, allocations: 0.8485 MB / 0.8798 GB, free: 4.648 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.699e-05/0.003264, allocations: 1.844 kB / 0.8798 GB, free: 4.648 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.717e-05/0.003301, allocations: 3.938 kB / 0.8798 GB, free: 4.645 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.649e-05/0.003388, allocations: 5.453 kB / 0.8798 GB, free: 4.641 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 7.575e-05/0.003464, allocations: 15.98 kB / 0.8798 GB, free: 4.625 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.631e-05/0.00356, allocations: 44.94 kB / 0.8799 GB, free: 4.582 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.003672, allocations: 8 kB / 0.8799 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001042/0.003776, allocations: 23.92 kB / 0.8799 GB, free: 4.551 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.214e-05/0.003829, allocations: 24.55 kB / 0.8799 GB, free: 4.527 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.67e-05/0.003855, allocations: 4 kB / 0.8799 GB, free: 4.523 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.187e-06/0.003864, allocations: 5.219 kB / 0.8799 GB, free: 4.52 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.857e-05/0.003883, allocations: 4 kB / 0.8799 GB, free: 4.516 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.314e-05/0.003916, allocations: 15.92 kB / 0.8799 GB, free: 4.5 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001094/0.004026, allocations: 28.88 kB / 0.88 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.004029, allocations: 0 / 0.88 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.22e-07/0.00403, allocations: 0 / 0.88 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.004035, allocations: 1.031 kB / 0.88 GB, free: 4.473 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.0004665/0.004501, allocations: 380.5 kB / 0.8803 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.004549, allocations: 9.156 kB / 0.8803 GB, free: 4.055 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.762e-05/0.004596, allocations: 4.938 kB / 0.8803 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.004725, allocations: 116.6 kB / 0.8804 GB, free: 3.91 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.004741, allocations: 5.453 kB / 0.8805 GB, free: 3.906 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.004755, allocations: 4.375 kB / 0.8805 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001949/0.004949, allocations: 67.91 kB / 0.8805 GB, free: 3.828 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.004961, allocations: 192 / 0.8805 GB, free: 3.828 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.004974, allocations: 4.375 kB / 0.8805 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.004983, allocations: 1.094 kB / 0.8805 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.623e-05/0.005029, allocations: 11.92 kB / 0.8805 GB, free: 3.812 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000388/0.005417, allocations: 265.3 kB / 0.8808 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.176e-05/0.005509, allocations: 31 kB / 0.8808 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.084e-05/0.00555, allocations: 27.7 kB / 0.8808 GB, free: 3.445 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.468e-06/0.005559, allocations: 0.5312 kB / 0.8808 GB, free: 3.445 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.005589, allocations: 34.83 kB / 0.8809 GB, free: 3.402 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.593e-06/0.005591, allocations: 0 / 0.8809 GB, free: 3.402 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0002077/0.005798, allocations: 53.58 kB / 0.8809 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/0.005837, allocations: 55.41 kB / 0.881 GB, free: 3.277 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.005948, allocations: 166.5 kB / 0.8811 GB, free: 3.098 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.005963, allocations: 26.45 kB / 0.8812 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.002e-05/0.006023, allocations: 134.9 kB / 0.8813 GB, free: 2.93 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.404e-05/0.006047, allocations: 9.062 kB / 0.8813 GB, free: 2.922 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-05/0.006091, allocations: 23.38 kB / 0.8813 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.006247, allocations: 0.4883 MB / 0.8818 GB, free: 2.391 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.575e-05/0.006273, allocations: 5.375 kB / 0.8818 GB, free: 2.387 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.757e-05/0.006291, allocations: 0 / 0.8818 GB, free: 2.387 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.753e-05/0.006338, allocations: 19.69 kB / 0.8818 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.006343, allocations: 4 kB / 0.8818 GB, free: 2.359 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.608e-05/0.006439, allocations: 45.12 kB / 0.8819 GB, free: 2.312 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.006458, allocations: 11.94 kB / 0.8819 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.006464, allocations: 0 / 0.8819 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.006479, allocations: 0 / 0.8819 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.006593, allocations: 15.92 kB / 0.8819 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.006599, allocations: 0 / 0.8819 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.682e-05/0.006636, allocations: 4 kB / 0.8819 GB, free: 2.281 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-06/0.006643, allocations: 0 / 0.8819 GB, free: 2.281 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 8.505e-05/0.006728, allocations: 161.7 kB / 0.8821 GB, free: 2.113 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.013e-05/0.006758, allocations: 3.953 kB / 0.8821 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.404e-05/0.006792, allocations: 15.94 kB / 0.8821 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.006795, allocations: 4.328 kB / 0.8821 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.0068, allocations: 0 / 0.8821 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.006803, allocations: 0 / 0.8821 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001453/0.006949, allocations: 124.6 kB / 0.8822 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.006951, allocations: 0 / 0.8822 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.044e-05/0.007011, allocations: 11.98 kB / 0.8822 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.007014, allocations: 0 / 0.8822 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.007022, allocations: 0 / 0.8822 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.007025, allocations: 7.875 kB / 0.8822 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.007027, allocations: 0 / 0.8822 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000157/0.007184, allocations: 191.9 kB / 0.8824 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.086e-05/0.007195, allocations: 11.95 kB / 0.8824 GB, free: 1.695 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.00721, allocations: 4 kB / 0.8824 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.958e-05/0.00728, allocations: 11.92 kB / 0.8824 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.786e-05/0.007328, allocations: 0 / 0.8824 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.007331, allocations: 4 kB / 0.8824 GB, free: 1.676 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.774e-05/0.007389, allocations: 131.2 kB / 0.8826 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1e-07/0.007389, allocations: 0 / 0.8826 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000253/0.007642, allocations: 8 kB / 0.8826 GB, free: 1.539 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.0001212/0.007763, allocations: 91.25 kB / 0.8827 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001192/0.007883, allocations: 23.67 kB / 0.8827 GB, free: 1.41 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.007885, allocations: 0 / 0.8827 GB, free: 1.41 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.895e-05/0.007924, allocations: 19.62 kB / 0.8827 GB, free: 1.387 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003363/0.00826, allocations: 14.02 kB / 0.8827 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003628/0.008623, allocations: 130.3 kB / 0.8828 GB, free: 1.219 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.106e-05/0.008674, allocations: 55.36 kB / 0.8829 GB, free: 1.145 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.157e-05/0.008705, allocations: 7.984 kB / 0.8829 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.184e-05/0.008747, allocations: 16.5 kB / 0.8829 GB, free: 1.121 MB / 0.8386 GB Notification: Performance of SimCode: time 8.41e-07/0.008748, allocations: 0 / 0.8829 GB, free: 1.121 MB / 0.8386 GB Notification: Performance of Templates: time 0.003471/0.01222, allocations: 0.7934 MB / 0.8837 GB, free: 348 kB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Add.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.54977111518383]