Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.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.001206/0.001206, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001292/0.001292, allocations: 169 kB / 24.28 MB, free: 276 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.9825/0.9825, allocations: 177.1 MB / 204.6 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.885/1.885, allocations: 359 MB / 0.6055 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0.7656 kB / 0.7872 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.461e-05/2.661e-05, allocations: 6.25 kB / 0.7872 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001326/0.001352, allocations: 0.679 MB / 0.7878 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0008183/0.002171, allocations: 0.8642 MB / 0.7887 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.643e-05/0.002207, allocations: 0 / 0.7887 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.945e-05/0.002237, allocations: 4.438 kB / 0.7887 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.884e-05/0.002305, allocations: 12.73 kB / 0.7887 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001922/0.002498, allocations: 7.938 kB / 0.7887 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.086e-05/0.002578, allocations: 28.58 kB / 0.7887 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.896e-05/0.002677, allocations: 7.984 kB / 0.7887 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.321e-05/0.002761, allocations: 13.17 kB / 0.7887 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.831e-05/0.002799, allocations: 7.984 kB / 0.7887 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.002816, allocations: 4 kB / 0.7887 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.945e-05/0.002866, allocations: 8.719 kB / 0.7888 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.591e-05/0.002882, allocations: 7.938 kB / 0.7888 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.909e-05/0.002901, allocations: 4.875 kB / 0.7888 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001043/0.003005, allocations: 23.95 kB / 0.7888 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.003007, allocations: 0 / 0.7888 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.11e-07/0.003008, allocations: 1.062 kB / 0.7888 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.003012, allocations: 0 / 0.7888 GB, free: 11.06 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003716/0.003384, allocations: 357.3 kB / 0.7891 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.00343, allocations: 12.03 kB / 0.7891 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001177/0.003548, allocations: 7.578 kB / 0.7892 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.003652, allocations: 112.6 kB / 0.7893 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.003665, allocations: 4.312 kB / 0.7893 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.003677, allocations: 8.344 kB / 0.7893 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001264/0.003803, allocations: 58.89 kB / 0.7893 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.762e-06/0.00381, allocations: 192 / 0.7893 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.00382, allocations: 384 / 0.7893 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.003829, allocations: 5.906 kB / 0.7893 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.043e-05/0.003859, allocations: 3.938 kB / 0.7893 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003041/0.004164, allocations: 247.8 kB / 0.7896 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.084e-05/0.004214, allocations: 35.66 kB / 0.7896 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.914e-05/0.004233, allocations: 7.688 kB / 0.7896 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.632e-05/0.00425, allocations: 0.5938 kB / 0.7896 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/0.004271, allocations: 38.05 kB / 0.7897 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 7.01e-07/0.004272, allocations: 0 / 0.7897 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001456/0.004418, allocations: 50.3 kB / 0.7897 GB, free: 10 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.314e-05/0.004451, allocations: 52.47 kB / 0.7898 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.474e-05/0.004526, allocations: 157.9 kB / 0.7899 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/0.004537, allocations: 25.7 kB / 0.7899 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.723e-05/0.004584, allocations: 136.2 kB / 0.7901 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.714e-05/0.004601, allocations: 3.953 kB / 0.7901 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.684e-05/0.004628, allocations: 27.31 kB / 0.7901 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.00474, allocations: 494 kB / 0.7906 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.223e-05/0.004752, allocations: 0 / 0.7906 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.909e-06/0.004762, allocations: 4 kB / 0.7906 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.809e-05/0.00479, allocations: 15.69 kB / 0.7906 GB, free: 9.043 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.004792, allocations: 1.531 kB / 0.7906 GB, free: 9.043 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.909e-05/0.004841, allocations: 37.69 kB / 0.7906 GB, free: 9 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.004856, allocations: 5.875 kB / 0.7906 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.004861, allocations: 3.938 kB / 0.7906 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.004874, allocations: 0.5312 kB / 0.7906 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.098e-05/0.004945, allocations: 13.84 kB / 0.7906 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.357e-06/0.004955, allocations: 0 / 0.7906 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.859e-05/0.004973, allocations: 7.922 kB / 0.7906 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.561e-06/0.004979, allocations: 4 kB / 0.7906 GB, free: 8.969 MB / 0.7448 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 (2): * Single equations (assignments): 2 * 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 7.266e-05/0.005051, allocations: 159.1 kB / 0.7908 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.342e-05/0.005065, allocations: 0 / 0.7908 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.924e-05/0.005154, allocations: 48.94 kB / 0.7908 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.005156, allocations: 3.938 kB / 0.7908 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.005159, allocations: 0 / 0.7908 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.005162, allocations: 4 kB / 0.7909 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.815e-05/0.00525, allocations: 116.6 kB / 0.791 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.005251, allocations: 0.5312 kB / 0.791 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.998e-05/0.005271, allocations: 4.719 kB / 0.791 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.02e-07/0.005272, allocations: 0 / 0.791 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.005279, allocations: 0.5312 kB / 0.791 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.005281, allocations: 5.562 kB / 0.791 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.005283, allocations: 3.938 kB / 0.791 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.798e-05/0.005381, allocations: 192 kB / 0.7912 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.092e-06/0.005387, allocations: 4 kB / 0.7912 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.478e-06/0.005396, allocations: 1.031 kB / 0.7912 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.175e-05/0.005428, allocations: 11.92 kB / 0.7912 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.435e-05/0.005462, allocations: 4.188 kB / 0.7912 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.339e-06/0.005467, allocations: 4.656 kB / 0.7912 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.38e-05/0.005501, allocations: 124.2 kB / 0.7913 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005501, allocations: 0 / 0.7913 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001354/0.005636, allocations: 4 kB / 0.7913 GB, free: 8.227 MB / 0.7448 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 (2): * Single equations (assignments): 2 * 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.793e-05/0.005714, allocations: 100.1 kB / 0.7914 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.441e-05/0.005788, allocations: 17.19 kB / 0.7914 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.00579, allocations: 0 / 0.7914 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.712e-05/0.005807, allocations: 15.69 kB / 0.7914 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001881/0.005995, allocations: 4.969 kB / 0.7914 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004207/0.006415, allocations: 128.3 kB / 0.7916 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.305e-05/0.006449, allocations: 51.36 kB / 0.7916 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.439e-05/0.006463, allocations: 0 / 0.7916 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.329e-05/0.006486, allocations: 14.75 kB / 0.7916 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of SimCode: time 9.82e-07/0.006487, allocations: 0 / 0.7916 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of Templates: time 0.002214/0.008701, allocations: 486.6 kB / 0.7921 GB, free: 7.391 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sin.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.256723724072799]