Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.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.001415/0.001415, allocations: 80.3 kB / 21.47 MB, free: 3.035 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.001003/0.001003, allocations: 170.3 kB / 24.86 MB, free: 9.277 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.9487/0.9487, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.858/1.858, 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_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 0.7883 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.411e-05/1.541e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.001337/0.001352, allocations: 0.8117 MB / 0.7891 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001153/0.001468, allocations: 44.69 kB / 0.7891 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.508e-05/0.001513, allocations: 5.156 kB / 0.7892 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.28e-05/0.001546, allocations: 11.86 kB / 0.7892 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.552e-05/0.001621, allocations: 7.875 kB / 0.7892 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 4.614e-05/0.001667, allocations: 17.23 kB / 0.7892 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.598e-05/0.001753, allocations: 67.78 kB / 0.7893 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.001857, allocations: 31.95 kB / 0.7893 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.794e-05/0.001925, allocations: 39.91 kB / 0.7893 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.003e-05/0.001965, allocations: 21.45 kB / 0.7893 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.466e-05/0.00198, allocations: 4 kB / 0.7893 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.072e-06/0.001986, allocations: 4 kB / 0.7893 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.859e-05/0.002005, allocations: 15.92 kB / 0.7894 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.198e-05/0.002027, allocations: 20.92 kB / 0.7894 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 8.273e-05/0.002109, allocations: 39.83 kB / 0.7894 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.002111, allocations: 0 / 0.7894 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.91e-07/0.002112, allocations: 0.625 kB / 0.7894 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.002116, allocations: 5.406 kB / 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.0003036/0.00242, allocations: 404.2 kB / 0.7898 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.002455, allocations: 12.03 kB / 0.7898 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.579e-05/0.002481, allocations: 16.88 kB / 0.7898 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.002602, allocations: 149.4 kB / 0.79 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.973e-06/0.002609, allocations: 384 / 0.79 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.087e-05/0.00262, allocations: 12.38 kB / 0.79 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.641e-05/0.002706, allocations: 82.81 kB / 0.7901 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.68e-06/0.002712, allocations: 192 / 0.7901 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.795e-06/0.00272, allocations: 4.359 kB / 0.7901 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.427e-06/0.002723, allocations: 1.812 kB / 0.7901 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.041e-05/0.002753, allocations: 31.8 kB / 0.7901 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003862/0.00314, allocations: 0.7223 MB / 0.7908 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.835e-05/0.003218, allocations: 268.4 kB / 0.7911 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.941e-05/0.003247, allocations: 130.8 kB / 0.7912 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.424e-05/0.003272, allocations: 119.2 kB / 0.7913 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.829e-05/0.00331, allocations: 156.6 kB / 0.7915 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.003311, allocations: 0 / 0.7915 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 4.98e-05/0.003361, allocations: 37.64 kB / 0.7915 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.433e-05/0.003415, allocations: 170.6 kB / 0.7917 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.854e-05/0.003514, allocations: 200.4 kB / 0.7919 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.903e-06/0.003521, allocations: 25.7 kB / 0.7919 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.917e-05/0.00359, allocations: 180.1 kB / 0.792 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.926e-06/0.003593, allocations: 3.984 kB / 0.7921 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.712e-05/0.00362, allocations: 27.38 kB / 0.7921 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000325/0.003945, allocations: 496.1 kB / 0.7925 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.01e-05/0.003955, allocations: 13.67 kB / 0.7926 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.302e-05/0.004008, allocations: 77.48 kB / 0.7926 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.415e-05/0.004082, allocations: 88.14 kB / 0.7927 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.004084, allocations: 0 / 0.7927 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000113/0.004197, allocations: 83.36 kB / 0.7928 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.004211, allocations: 7.938 kB / 0.7928 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.004216, allocations: 4 kB / 0.7928 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.775e-06/0.004224, allocations: 0.75 kB / 0.7928 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.081e-05/0.004275, allocations: 15.98 kB / 0.7928 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.004281, allocations: 8.531 kB / 0.7928 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.071e-05/0.004302, allocations: 8.656 kB / 0.7928 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-06/0.004308, allocations: 8 kB / 0.7929 GB, free: 7.312 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.047e-05/0.004398, allocations: 284.1 kB / 0.7931 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.504e-05/0.004443, allocations: 154.2 kB / 0.7933 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.155e-05/0.004485, allocations: 160.7 kB / 0.7934 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.516e-05/0.00454, allocations: 268 kB / 0.7937 GB, free: 6.434 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.376e-05/0.004594, allocations: 268.6 kB / 0.7939 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.625e-05/0.00465, allocations: 276 kB / 0.7942 GB, free: 5.887 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/0.004809, allocations: 497.9 kB / 0.7947 GB, free: 5.367 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.871e-05/0.004838, allocations: 144.9 kB / 0.7948 GB, free: 5.219 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.057e-05/0.004868, allocations: 148.8 kB / 0.795 GB, free: 5.066 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.443e-05/0.004933, allocations: 273.2 kB / 0.7952 GB, free: 4.793 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.389e-05/0.004986, allocations: 272 kB / 0.7955 GB, free: 4.52 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.137e-05/0.005038, allocations: 264.1 kB / 0.7957 GB, free: 4.254 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.158e-05/0.005089, allocations: 269.3 kB / 0.796 GB, free: 3.984 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001054/0.005195, allocations: 451.9 kB / 0.7964 GB, free: 3.516 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.998e-05/0.005235, allocations: 156.8 kB / 0.7966 GB, free: 3.355 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.832e-05/0.005293, allocations: 272.1 kB / 0.7968 GB, free: 3.082 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.225e-05/0.005345, allocations: 149.6 kB / 0.797 GB, free: 2.93 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.66e-05/0.005402, allocations: 268.4 kB / 0.7972 GB, free: 2.66 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.034e-05/0.005432, allocations: 145.8 kB / 0.7974 GB, free: 2.512 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.746e-05/0.00548, allocations: 145 kB / 0.7975 GB, free: 2.371 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.00548, allocations: 1.344 kB / 0.7975 GB, free: 2.371 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001469/0.005627, allocations: 7.953 kB / 0.7975 GB, free: 2.363 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 8.738e-05/0.005714, allocations: 223.1 kB / 0.7977 GB, free: 2.137 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.066e-05/0.005775, allocations: 37.52 kB / 0.7978 GB, free: 2.098 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.005776, allocations: 0 / 0.7978 GB, free: 2.098 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.22e-07/0.005777, 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.0002705/0.006047, allocations: 0.707 MB / 0.7984 GB, free: 1.387 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002041/0.006252, allocations: 281.5 kB / 0.7987 GB, free: 1.082 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.779e-05/0.006279, allocations: 59.34 kB / 0.7988 GB, free: 1.004 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.52e-05/0.006305, allocations: 8.141 kB / 0.7988 GB, free: 0.9961 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.08e-05/0.006335, allocations: 74.2 kB / 0.7988 GB, free: 0.9219 MB / 0.7448 GB Notification: Performance of SimCode: time 6.62e-07/0.006336, allocations: 0 / 0.7988 GB, free: 0.9219 MB / 0.7448 GB Notification: Performance of Templates: time 0.001595/0.007931, allocations: 339.1 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_ton.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.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.160210761707276]