Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.656/1.656, allocations: 288.4 MB / 303.3 MB, free: 8.164 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001426/0.001426, allocations: 189.5 kB / 372 MB, free: 10.25 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.799/1.799, allocations: 205.4 MB / 0.6307 GB, free: 9.984 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008563/0.0008563, allocations: 100.8 kB / 0.7441 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003998/0.0003999, allocations: 21.45 kB / 0.8671 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2257/0.2261, allocations: 115.3 MB / 0.9797 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort): time 0.00124/0.2275, allocations: 0.5184 MB / 0.9802 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001317/0.2288, allocations: 0.9967 MB / 0.9811 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.438e-05/0.2289, allocations: 0 / 0.9811 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000134/0.229, allocations: 11.86 kB / 0.9812 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.345e-05/0.2291, allocations: 11.88 kB / 0.9812 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004244/0.2295, allocations: 71.91 kB / 0.9812 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001736/0.2297, allocations: 107.6 kB / 0.9813 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002048/0.2299, allocations: 41.33 kB / 0.9814 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.964e-05/0.23, allocations: 35.83 kB / 0.9814 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.752e-05/0.2301, allocations: 51.81 kB / 0.9815 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.329e-05/0.2301, allocations: 4 kB / 0.9815 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001184/0.2302, allocations: 47.91 kB / 0.9815 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.542e-05/0.2303, allocations: 23.91 kB / 0.9815 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.808e-05/0.2303, allocations: 45.64 kB / 0.9816 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001677/0.2305, allocations: 131.9 kB / 0.9817 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.2305, allocations: 0 / 0.9817 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.095e-06/0.2305, allocations: 0 / 0.9817 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.2305, allocations: 7.938 kB / 0.9817 GB, free: 25.42 MB / 0.6198 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.0007402/0.2313, allocations: 478.8 kB / 0.9822 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.2313, allocations: 12.02 kB / 0.9822 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.141e-05/0.2314, allocations: 46.55 kB / 0.9822 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.489e-05/0.2314, allocations: 11.81 kB / 0.9822 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001693/0.2316, allocations: 202.8 kB / 0.9824 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.2316, allocations: 4 kB / 0.9824 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.606e-05/0.2316, allocations: 8 kB / 0.9824 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005133/0.2322, allocations: 213.5 kB / 0.9826 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.2322, allocations: 0 / 0.9826 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.2322, allocations: 4 kB / 0.9827 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.023e-05/0.2322, allocations: 15.98 kB / 0.9827 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007206/0.233, allocations: 255.7 kB / 0.9829 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008483/0.2338, allocations: 492.3 kB / 0.9834 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003995/0.2342, allocations: 166.5 kB / 0.9835 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003709/0.2346, allocations: 152.8 kB / 0.9837 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.676e-05/0.2346, allocations: 0 / 0.9837 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.2347, allocations: 38.5 kB / 0.9837 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 1.032e-06/0.2347, allocations: 0 / 0.9837 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.001226/0.2359, allocations: 482.9 kB / 0.9842 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3e-05/0.2359, allocations: 59.39 kB / 0.9842 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.237e-05/0.236, allocations: 147.2 kB / 0.9844 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.2361, allocations: 25.7 kB / 0.9844 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.136e-05/0.2361, allocations: 108.4 kB / 0.9845 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.317e-05/0.2361, allocations: 55.27 kB / 0.9846 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.995e-06/0.2362, allocations: 4 kB / 0.9846 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.178e-05/0.2362, allocations: 322.8 kB / 0.9849 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003588/0.2366, allocations: 139.9 kB / 0.985 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003652/0.237, allocations: 139.9 kB / 0.9851 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000365/0.2373, allocations: 147.8 kB / 0.9853 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2373, allocations: 0 / 0.9853 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008001/0.2381, allocations: 326.6 kB / 0.9856 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.2382, allocations: 4 kB / 0.9856 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.2382, allocations: 4 kB / 0.9856 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.2382, allocations: 7.953 kB / 0.9856 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000238/0.2384, allocations: 47.95 kB / 0.9857 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.2385, allocations: 0 / 0.9857 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001847/0.2387, allocations: 51.86 kB / 0.9857 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.031e-05/0.2387, allocations: 0 / 0.9857 GB, free: 21.11 MB / 0.6198 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 8.457e-05/0.2388, allocations: 129.8 kB / 0.9858 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.943e-05/0.2388, allocations: 7.906 kB / 0.9858 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.825e-05/0.2388, allocations: 16.83 kB / 0.9858 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-05/0.2389, allocations: 19.88 kB / 0.9859 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.289e-06/0.2389, allocations: 0 / 0.9859 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.2389, allocations: 0 / 0.9859 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002003/0.2391, allocations: 241.4 kB / 0.9861 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.2391, allocations: 0 / 0.9861 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002041/0.2393, allocations: 47.95 kB / 0.9861 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.2393, allocations: 3.938 kB / 0.9861 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.2393, allocations: 8 kB / 0.9862 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.2393, allocations: 3.984 kB / 0.9862 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.2393, allocations: 3.953 kB / 0.9862 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007653/0.2401, allocations: 424 kB / 0.9866 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.593e-05/0.2401, allocations: 96.84 kB / 0.9867 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.965e-05/0.2402, allocations: 0 / 0.9867 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002079/0.2404, allocations: 43.95 kB / 0.9867 GB, free: 20 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.223e-05/0.2405, allocations: 15.97 kB / 0.9867 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.2405, allocations: 11.89 kB / 0.9867 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.905e-05/0.2405, allocations: 110.1 kB / 0.9868 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2405, allocations: 0 / 0.9868 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002536/0.2408, allocations: 40 kB / 0.9869 GB, free: 19.82 MB / 0.6198 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.001138/0.2419, allocations: 0.9868 MB / 0.9878 GB, free: 18.81 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008202/0.2428, allocations: 312.1 kB / 0.9881 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2428, allocations: 0 / 0.9881 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003838/0.2432, allocations: 164 kB / 0.9883 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000352/0.2435, allocations: 17.7 kB / 0.9883 GB, free: 18.33 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00211/0.2457, allocations: 1.195 MB / 0.9895 GB, free: 17.09 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001639/0.2458, allocations: 0.724 MB / 0.9902 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.889e-05/0.2459, allocations: 15.98 kB / 0.9902 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.532e-05/0.246, allocations: 35.42 kB / 0.9902 GB, free: 16.29 MB / 0.6198 GB Notification: Performance of SimCode: time 3.31e-07/0.246, allocations: 3.938 kB / 0.9902 GB, free: 16.29 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01305/0.2591, allocations: 2.988 MB / 0.9931 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001449/0.2593, allocations: 205 kB / 0.9933 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.66/1.919, allocations: 0 / 0.9933 GB, free: 13.23 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe 2>&1)