Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.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.001102/0.001102, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009497/0.0009497, allocations: 161 kB / 23.82 MB, free: 0.75 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.9357/0.9357, allocations: 177.2 MB / 204.2 MB, free: 5.586 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.759/1.759, allocations: 359 MB / 0.6052 GB, free: 10.99 MB / 0.573 GB " [Timeout remaining time 178] 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.UnitConversions.Validation.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.307e-05/2.483e-05, allocations: 4.844 kB / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.00147/0.001495, allocations: 0.8093 MB / 0.7879 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.000115/0.00161, allocations: 48.83 kB / 0.7879 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.298e-05/0.001653, allocations: 0 / 0.7879 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.286e-05/0.001685, allocations: 8.938 kB / 0.788 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.8e-05/0.001773, allocations: 11.86 kB / 0.788 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 3.939e-05/0.001813, allocations: 19.98 kB / 0.788 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.912e-05/0.001902, allocations: 68.33 kB / 0.7881 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001346/0.002037, allocations: 32.67 kB / 0.7881 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.02e-05/0.002127, allocations: 44.73 kB / 0.7881 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.595e-05/0.002163, allocations: 15.92 kB / 0.7881 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.002181, allocations: 4 kB / 0.7881 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.813e-06/0.002188, allocations: 4.656 kB / 0.7881 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.86e-05/0.002207, allocations: 19.91 kB / 0.7882 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.62e-05/0.002233, allocations: 16.66 kB / 0.7882 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 8.36e-05/0.002317, allocations: 41.48 kB / 0.7882 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.002319, allocations: 0 / 0.7882 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.81e-07/0.00232, allocations: 0 / 0.7882 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.002324, allocations: 3.938 kB / 0.7882 GB, free: 11.33 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.00034/0.002664, allocations: 408.2 kB / 0.7886 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.0027, allocations: 9.375 kB / 0.7886 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.864e-05/0.002738, allocations: 20.89 kB / 0.7886 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.002866, allocations: 136.5 kB / 0.7888 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.002877, allocations: 9.969 kB / 0.7888 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.685e-05/0.002894, allocations: 4.375 kB / 0.7888 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001233/0.003017, allocations: 97.47 kB / 0.7889 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.003024, allocations: 192 / 0.7889 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.003036, allocations: 7.906 kB / 0.7889 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.003042, allocations: 4.375 kB / 0.7889 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.171e-05/0.003084, allocations: 27.86 kB / 0.7889 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004401/0.003524, allocations: 0.7454 MB / 0.7896 GB, free: 9.75 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.131e-05/0.003605, allocations: 273.4 kB / 0.7899 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.286e-05/0.003638, allocations: 126.9 kB / 0.79 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.167e-05/0.00367, allocations: 119.2 kB / 0.7901 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.261e-05/0.003712, allocations: 160.6 kB / 0.7903 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 1.493e-06/0.003714, allocations: 0.625 kB / 0.7903 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 4.993e-05/0.003764, allocations: 33.59 kB / 0.7903 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.151e-05/0.003815, allocations: 183.2 kB / 0.7905 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001283/0.003944, allocations: 195.6 kB / 0.7907 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.207e-06/0.003953, allocations: 30.33 kB / 0.7907 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.806e-05/0.004021, allocations: 174.5 kB / 0.7909 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.945e-06/0.004024, allocations: 1.062 kB / 0.7909 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.784e-05/0.004052, allocations: 27.38 kB / 0.7909 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.004167, allocations: 0.4889 MB / 0.7914 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.257e-05/0.00418, allocations: 4 kB / 0.7914 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.971e-05/0.004219, allocations: 78.8 kB / 0.7915 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.642e-05/0.004286, allocations: 91.88 kB / 0.7916 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.004288, allocations: 0 / 0.7916 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000111/0.004399, allocations: 87.39 kB / 0.7916 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.004411, allocations: 6.219 kB / 0.7916 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.004415, allocations: 0 / 0.7916 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.004426, allocations: 4 kB / 0.7916 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.56e-05/0.004482, allocations: 15.98 kB / 0.7917 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.00449, allocations: 11.88 kB / 0.7917 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.027e-05/0.00451, allocations: 4 kB / 0.7917 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-06/0.004515, allocations: 6.938 kB / 0.7917 GB, free: 7.504 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.656e-05/0.004601, allocations: 279.7 kB / 0.792 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.856e-05/0.00465, allocations: 152.8 kB / 0.7921 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.992e-05/0.0047, allocations: 164.6 kB / 0.7923 GB, free: 6.895 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.421e-05/0.004754, allocations: 264.1 kB / 0.7925 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.475e-05/0.004819, allocations: 276 kB / 0.7928 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.562e-05/0.004874, allocations: 276 kB / 0.793 GB, free: 6.074 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001617/0.005036, allocations: 0.4999 MB / 0.7935 GB, free: 5.531 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.112e-05/0.005067, allocations: 150.3 kB / 0.7937 GB, free: 5.379 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.661e-05/0.005104, allocations: 156.9 kB / 0.7938 GB, free: 5.219 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.385e-05/0.005158, allocations: 268 kB / 0.7941 GB, free: 4.949 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.56e-05/0.005213, allocations: 264.7 kB / 0.7943 GB, free: 4.684 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.416e-05/0.005267, allocations: 268.2 kB / 0.7946 GB, free: 4.414 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.161e-05/0.005319, allocations: 268.6 kB / 0.7948 GB, free: 4.145 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001177/0.005437, allocations: 464.4 kB / 0.7953 GB, free: 3.664 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.313e-05/0.00548, allocations: 152.8 kB / 0.7954 GB, free: 3.508 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.303e-05/0.005543, allocations: 268.8 kB / 0.7957 GB, free: 3.238 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.052e-05/0.005593, allocations: 148.9 kB / 0.7958 GB, free: 3.086 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.16e-05/0.005655, allocations: 269.5 kB / 0.7961 GB, free: 2.816 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.257e-05/0.005688, allocations: 152.8 kB / 0.7962 GB, free: 2.66 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.94e-05/0.005737, allocations: 145.2 kB / 0.7964 GB, free: 2.52 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005737, allocations: 4.906 kB / 0.7964 GB, free: 2.516 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001541/0.005891, allocations: 7.953 kB / 0.7964 GB, free: 2.508 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 (0): * Single equations (assignments): 0 * 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 9.013e-05/0.005981, allocations: 220.1 kB / 0.7966 GB, free: 2.285 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.047e-05/0.006062, allocations: 36.45 kB / 0.7966 GB, free: 2.246 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.006063, allocations: 0 / 0.7966 GB, free: 2.246 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.82e-07/0.006064, allocations: 0.9375 kB / 0.7966 GB, free: 2.246 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002832/0.006347, allocations: 0.7199 MB / 0.7973 GB, free: 1.523 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002481/0.006595, allocations: 278.7 kB / 0.7976 GB, free: 1.223 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.509e-05/0.00663, allocations: 63.28 kB / 0.7977 GB, free: 1.141 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.947e-05/0.00666, allocations: 9.562 kB / 0.7977 GB, free: 1.129 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.947e-05/0.006679, allocations: 16.22 kB / 0.7977 GB, free: 1.117 MB / 0.7448 GB Notification: Performance of SimCode: time 6.32e-07/0.00668, allocations: 0 / 0.7977 GB, free: 1.117 MB / 0.7448 GB Notification: Performance of Templates: time 0.001735/0.008415, allocations: 312.8 kB / 0.798 GB, free: 0.8281 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.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: 4.936658231075853]