Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_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.0008663/0.0008663, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001516/0.001516, allocations: 166.2 kB / 24.87 MB, free: 8.891 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.9882/0.9882, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.849/1.849, allocations: 359 MB / 0.6063 GB, free: 10.89 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.UnitConversions.Validation.From_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 0.7883 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.435e-05/2.561e-05, allocations: 7.125 kB / 0.7883 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.001513/0.001539, allocations: 0.823 MB / 0.7891 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00011/0.001649, allocations: 45.03 kB / 0.7892 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.353e-05/0.001692, allocations: 0 / 0.7892 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.53e-05/0.001728, allocations: 9.5 kB / 0.7892 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.073e-05/0.001808, allocations: 15.81 kB / 0.7892 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 4.213e-05/0.001851, allocations: 19.97 kB / 0.7892 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.892e-05/0.001939, allocations: 59.84 kB / 0.7893 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.002049, allocations: 33.19 kB / 0.7893 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.292e-05/0.002132, allocations: 39.84 kB / 0.7893 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.569e-05/0.002168, allocations: 15.98 kB / 0.7893 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.495e-05/0.002183, allocations: 8.562 kB / 0.7894 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.553e-06/0.002189, allocations: 4 kB / 0.7894 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.033e-05/0.00221, allocations: 17.38 kB / 0.7894 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.994e-05/0.00223, allocations: 11.94 kB / 0.7894 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 8.162e-05/0.002311, allocations: 51.7 kB / 0.7894 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.002314, allocations: 0 / 0.7894 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.148e-06/0.002319, allocations: 0.8438 kB / 0.7894 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.002323, allocations: 0 / 0.7894 GB, free: 11.1 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.0003438/0.002667, allocations: 412.8 kB / 0.7898 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.002702, allocations: 12.7 kB / 0.7898 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.845e-05/0.002731, allocations: 12.89 kB / 0.7899 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.002847, allocations: 133.4 kB / 0.79 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-06/0.002857, allocations: 8.375 kB / 0.79 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.017e-06/0.002866, allocations: 12.97 kB / 0.79 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.471e-05/0.002961, allocations: 77.59 kB / 0.7901 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.971e-06/0.002967, allocations: 0.9062 kB / 0.7901 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.876e-06/0.002976, allocations: 8.375 kB / 0.7901 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.00298, allocations: 2.031 kB / 0.7901 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.859e-05/0.003009, allocations: 23.86 kB / 0.7901 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004167/0.003425, allocations: 0.7263 MB / 0.7908 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.411e-05/0.00352, allocations: 269.4 kB / 0.7911 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.489e-05/0.003554, allocations: 128.2 kB / 0.7912 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.005e-05/0.003584, allocations: 119.2 kB / 0.7913 GB, free: 9.043 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.796e-05/0.003632, allocations: 152.6 kB / 0.7915 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.003633, allocations: 1.688 kB / 0.7915 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 6.249e-05/0.003696, allocations: 37.59 kB / 0.7915 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.767e-05/0.003764, allocations: 174.6 kB / 0.7917 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.003894, allocations: 203.7 kB / 0.7919 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.455e-06/0.003903, allocations: 26.64 kB / 0.7919 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.59e-05/0.003988, allocations: 178.4 kB / 0.792 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.024e-06/0.00399, allocations: 0 / 0.792 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.791e-05/0.004028, allocations: 26.69 kB / 0.7921 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.004169, allocations: 0.4923 MB / 0.7926 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.086e-05/0.00418, allocations: 7.938 kB / 0.7926 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001132/0.004293, allocations: 81.41 kB / 0.7926 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.901e-05/0.004372, allocations: 82.5 kB / 0.7927 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.004374, allocations: 1.062 kB / 0.7927 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001334/0.004508, allocations: 86.59 kB / 0.7928 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.004522, allocations: 10.94 kB / 0.7928 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.004527, allocations: 0 / 0.7928 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.004538, allocations: 4 kB / 0.7928 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.872e-05/0.004597, allocations: 17.09 kB / 0.7928 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.004602, allocations: 4 kB / 0.7928 GB, free: 7.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.477e-05/0.004637, allocations: 3.938 kB / 0.7928 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-06/0.004643, allocations: 8.922 kB / 0.7928 GB, free: 7.328 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 9.652e-05/0.004739, allocations: 287.7 kB / 0.7931 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.95e-05/0.004799, allocations: 158.3 kB / 0.7933 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.937e-05/0.004848, allocations: 152.7 kB / 0.7934 GB, free: 6.719 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-05/0.004913, allocations: 272 kB / 0.7937 GB, free: 6.445 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-05/0.004975, allocations: 272.1 kB / 0.7939 GB, free: 6.172 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-05/0.00504, allocations: 278.4 kB / 0.7942 GB, free: 5.895 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002121/0.005252, allocations: 496.4 kB / 0.7947 GB, free: 5.375 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.629e-05/0.005289, allocations: 144.9 kB / 0.7948 GB, free: 5.227 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.709e-05/0.005326, allocations: 152.8 kB / 0.795 GB, free: 5.07 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-05/0.005388, allocations: 264.1 kB / 0.7952 GB, free: 4.805 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.073e-05/0.005449, allocations: 264.1 kB / 0.7955 GB, free: 4.539 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.575e-05/0.005514, allocations: 283.4 kB / 0.7957 GB, free: 4.258 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.341e-05/0.005578, allocations: 264.1 kB / 0.796 GB, free: 3.992 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001326/0.00571, allocations: 451.9 kB / 0.7964 GB, free: 3.523 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.28e-05/0.005763, allocations: 156.8 kB / 0.7966 GB, free: 3.363 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.484e-05/0.005838, allocations: 268 kB / 0.7968 GB, free: 3.094 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.216e-05/0.00592, allocations: 148.9 kB / 0.797 GB, free: 2.941 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.875e-05/0.006009, allocations: 272.3 kB / 0.7972 GB, free: 2.668 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.023e-05/0.006049, allocations: 144.9 kB / 0.7974 GB, free: 2.52 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.244e-05/0.006112, allocations: 143.7 kB / 0.7975 GB, free: 2.379 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.006112, allocations: 0 / 0.7975 GB, free: 2.379 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002637/0.006375, allocations: 12.67 kB / 0.7975 GB, free: 2.367 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 0.0001134/0.006489, allocations: 215.5 kB / 0.7977 GB, free: 2.148 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.681e-05/0.006576, allocations: 45.48 kB / 0.7978 GB, free: 2.102 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.233e-06/0.006577, allocations: 3.938 kB / 0.7978 GB, free: 2.098 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.122e-06/0.006578, allocations: 0 / 0.7978 GB, free: 2.098 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003626/0.006941, allocations: 0.7072 MB / 0.7985 GB, free: 1.387 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002512/0.007192, allocations: 279.1 kB / 0.7987 GB, free: 1.086 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.728e-05/0.007229, allocations: 59.34 kB / 0.7988 GB, free: 1.008 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.873e-05/0.007268, allocations: 10.53 kB / 0.7988 GB, free: 0.9961 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.386e-05/0.007302, allocations: 70.2 kB / 0.7989 GB, free: 0.9258 MB / 0.7448 GB Notification: Performance of SimCode: time 4.81e-07/0.007302, allocations: 0.9375 kB / 0.7989 GB, free: 0.9258 MB / 0.7448 GB Notification: Performance of Templates: time 0.002238/0.00954, allocations: 342.4 kB / 0.7992 GB, free: 0.6094 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_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: 5.129230143036693]