Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.46/1.46, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001116/0.001116, allocations: 191.5 kB / 326.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.987/1.987, allocations: 205.4 MB / 0.5775 GB, free: 20.29 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008825/0.0008825, allocations: 107.3 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003562/0.0003562, allocations: 15.91 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2245/0.2249, allocations: 106.3 MB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort): time 0.001618/0.2266, allocations: 1.249 MB / 0.9014 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006486/0.2273, allocations: 330.1 kB / 0.9017 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.246e-05/0.2274, allocations: 3.938 kB / 0.9017 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001152/0.2275, allocations: 19.86 kB / 0.9017 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.06e-05/0.2276, allocations: 15.97 kB / 0.9017 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000401/0.228, allocations: 63.86 kB / 0.9018 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001269/0.2281, allocations: 71.84 kB / 0.9019 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001684/0.2283, allocations: 33.39 kB / 0.9019 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.509e-05/0.2284, allocations: 39.89 kB / 0.9019 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.449e-05/0.2285, allocations: 43.77 kB / 0.902 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.151e-05/0.2285, allocations: 4 kB / 0.902 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001117/0.2286, allocations: 47.95 kB / 0.902 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.941e-05/0.2287, allocations: 23.92 kB / 0.9021 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.347e-05/0.2287, allocations: 45.64 kB / 0.9021 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001717/0.2289, allocations: 131.7 kB / 0.9022 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.125e-06/0.2289, allocations: 3.938 kB / 0.9022 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.224e-06/0.2289, allocations: 0 / 0.9022 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.2289, allocations: 0 / 0.9022 GB, free: 61.69 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007177/0.2296, allocations: 487 kB / 0.9027 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.2297, allocations: 12.03 kB / 0.9027 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.749e-05/0.2298, allocations: 46.55 kB / 0.9027 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.591e-05/0.2298, allocations: 11.81 kB / 0.9028 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.23, allocations: 209.7 kB / 0.903 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.23, allocations: 4 kB / 0.903 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.475e-05/0.23, allocations: 7.938 kB / 0.903 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005147/0.2305, allocations: 220.4 kB / 0.9032 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.2305, allocations: 0 / 0.9032 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.2306, allocations: 0 / 0.9032 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.455e-05/0.2306, allocations: 12 kB / 0.9032 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006749/0.2313, allocations: 259.8 kB / 0.9034 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008815/0.2322, allocations: 484.3 kB / 0.9039 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004125/0.2326, allocations: 162.5 kB / 0.9041 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.345e-05/0.2326, allocations: 0 / 0.9041 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.807e-05/0.2326, allocations: 50.44 kB / 0.9041 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 1.112e-06/0.2327, allocations: 0 / 0.9041 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.001302/0.234, allocations: 0.6222 MB / 0.9047 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.444e-05/0.234, allocations: 51.41 kB / 0.9048 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.197e-05/0.2341, allocations: 154.2 kB / 0.9049 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/0.2341, allocations: 25.7 kB / 0.9049 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.463e-05/0.2342, allocations: 112.4 kB / 0.905 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.557e-05/0.2342, allocations: 47.2 kB / 0.9051 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.966e-06/0.2342, allocations: 0 / 0.9051 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.802e-05/0.2343, allocations: 326.8 kB / 0.9054 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003655/0.2347, allocations: 135.9 kB / 0.9055 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003747/0.2351, allocations: 149.9 kB / 0.9057 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003624/0.2354, allocations: 143.9 kB / 0.9058 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2354, allocations: 3.938 kB / 0.9058 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007602/0.2362, allocations: 325.4 kB / 0.9061 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.2362, allocations: 19.92 kB / 0.9061 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.2363, allocations: 4.031 kB / 0.9061 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.2363, allocations: 0 / 0.9061 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002325/0.2365, allocations: 47.95 kB / 0.9062 GB, free: 57.37 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.2365, allocations: 7.984 kB / 0.9062 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001786/0.2367, allocations: 47.89 kB / 0.9062 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.317e-05/0.2367, allocations: 4 kB / 0.9062 GB, free: 57.31 MB / 0.6042 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 (7): * Single equations (assignments): 5 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.517e-05/0.2368, allocations: 125.8 kB / 0.9064 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.15e-05/0.2369, allocations: 11.81 kB / 0.9064 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.127e-05/0.2369, allocations: 16.84 kB / 0.9064 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.161e-05/0.2369, allocations: 19.92 kB / 0.9064 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.2369, allocations: 3.938 kB / 0.9064 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.2369, allocations: 0 / 0.9064 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002529/0.2372, allocations: 225.6 kB / 0.9066 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.2372, allocations: 0 / 0.9066 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001999/0.2374, allocations: 51.95 kB / 0.9067 GB, free: 56.81 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.2374, allocations: 0 / 0.9067 GB, free: 56.81 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.2374, allocations: 3.984 kB / 0.9067 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.2375, allocations: 0 / 0.9067 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.2375, allocations: 3.953 kB / 0.9067 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000816/0.2383, allocations: 436.3 kB / 0.9071 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.772e-05/0.2383, allocations: 85.02 kB / 0.9072 GB, free: 56.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.201e-05/0.2384, allocations: 4 kB / 0.9072 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002005/0.2386, allocations: 43.95 kB / 0.9072 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.114e-05/0.2386, allocations: 15.94 kB / 0.9072 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.2386, allocations: 0 / 0.9072 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.347e-05/0.2387, allocations: 118.2 kB / 0.9074 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2387, allocations: 0 / 0.9074 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000286/0.239, allocations: 47.84 kB / 0.9074 GB, free: 56.04 MB / 0.6042 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 (7): * Single equations (assignments): 5 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001087/0.2401, allocations: 0.9801 MB / 0.9084 GB, free: 55.03 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007522/0.2409, allocations: 311.7 kB / 0.9087 GB, free: 54.73 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2409, allocations: 0 / 0.9087 GB, free: 54.73 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000368/0.2412, allocations: 163.8 kB / 0.9088 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002562/0.2415, allocations: 21.88 kB / 0.9088 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001952/0.2435, allocations: 1.188 MB / 0.91 GB, free: 53.3 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001596/0.2436, allocations: 0.724 MB / 0.9107 GB, free: 52.55 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 8.543e-05/0.2437, allocations: 15.98 kB / 0.9107 GB, free: 52.54 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.408e-05/0.2438, allocations: 43.36 kB / 0.9108 GB, free: 52.5 MB / 0.6042 GB Notification: Performance of SimCode: time 5.71e-07/0.2438, allocations: 0 / 0.9108 GB, free: 52.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01717/0.261, allocations: 2.96 MB / 0.9137 GB, free: 49.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002079/0.2613, allocations: 194.8 kB / 0.9138 GB, free: 49.46 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.676/1.937, allocations: 0 / 0.9138 GB, free: 49.46 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe 2>&1)