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.625/1.625, allocations: 288.2 MB / 303.2 MB, free: 8.152 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.001035/0.001035, allocations: 179.4 kB / 371.8 MB, free: 10.28 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.744/1.744, allocations: 205.4 MB / 0.6305 GB, free: 10.02 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.0009579/0.0009579, allocations: 102.8 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004149/0.0004153, allocations: 21.89 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.2475, allocations: 115.3 MB / 0.9795 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort): time 0.0008739/0.2484, allocations: 0.5223 MB / 0.98 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009999/0.2494, allocations: 0.9968 MB / 0.981 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.342e-05/0.2495, allocations: 0 / 0.981 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.702e-05/0.2496, allocations: 11.94 kB / 0.981 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.361e-05/0.2496, allocations: 27.89 kB / 0.981 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002808/0.2499, allocations: 67.8 kB / 0.9811 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.871e-05/0.25, allocations: 63.91 kB / 0.9811 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.2501, allocations: 41.38 kB / 0.9812 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.614e-05/0.2502, allocations: 35.84 kB / 0.9812 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.754e-05/0.2503, allocations: 47.81 kB / 0.9813 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.2503, allocations: 4 kB / 0.9813 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.952e-05/0.2504, allocations: 47.91 kB / 0.9813 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.322e-05/0.2504, allocations: 23.91 kB / 0.9813 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.279e-05/0.2504, allocations: 45.64 kB / 0.9814 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001391/0.2506, allocations: 131.9 kB / 0.9815 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2506, allocations: 0 / 0.9815 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.174e-06/0.2506, allocations: 0 / 0.9815 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.2506, allocations: 3.938 kB / 0.9815 GB, free: 25.51 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.0006973/0.2513, allocations: 486.8 kB / 0.982 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.2514, allocations: 16 kB / 0.982 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.86e-05/0.2514, allocations: 38.56 kB / 0.982 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.122e-05/0.2514, allocations: 19.81 kB / 0.982 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/0.2516, allocations: 210.7 kB / 0.9822 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.908e-06/0.2516, allocations: 0 / 0.9822 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.578e-05/0.2516, allocations: 8 kB / 0.9822 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00049/0.2521, allocations: 208.9 kB / 0.9824 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.2522, allocations: 3.938 kB / 0.9824 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.2522, allocations: 4 kB / 0.9825 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.002e-05/0.2522, allocations: 11.98 kB / 0.9825 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006693/0.2529, allocations: 259.8 kB / 0.9827 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007902/0.2537, allocations: 488.3 kB / 0.9832 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003816/0.2541, allocations: 162.5 kB / 0.9833 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.2541, allocations: 4 kB / 0.9833 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/0.2541, allocations: 34.56 kB / 0.9834 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 1.222e-06/0.2541, allocations: 4 kB / 0.9834 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.001226/0.2554, allocations: 0.6339 MB / 0.984 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.995e-05/0.2554, allocations: 51.41 kB / 0.984 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.718e-05/0.2555, allocations: 146.1 kB / 0.9842 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.2555, allocations: 33.7 kB / 0.9842 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.29e-05/0.2556, allocations: 104.4 kB / 0.9843 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.772e-05/0.2557, allocations: 51.27 kB / 0.9844 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.385e-06/0.2557, allocations: 4 kB / 0.9844 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.577e-05/0.2558, allocations: 322.8 kB / 0.9847 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003581/0.2561, allocations: 135.9 kB / 0.9848 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003431/0.2565, allocations: 147.8 kB / 0.9849 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003589/0.2568, allocations: 147.9 kB / 0.9851 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.2568, allocations: 3.938 kB / 0.9851 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007655/0.2576, allocations: 333.8 kB / 0.9854 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.2576, allocations: 4 kB / 0.9854 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.2577, allocations: 4 kB / 0.9854 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.2577, allocations: 3.953 kB / 0.9854 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002416/0.2579, allocations: 47.95 kB / 0.9855 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.2579, allocations: 0 / 0.9855 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001785/0.2581, allocations: 51.86 kB / 0.9855 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.901e-05/0.2582, allocations: 8 kB / 0.9855 GB, free: 21.14 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 9.695e-05/0.2583, allocations: 125.8 kB / 0.9856 GB, free: 21 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.236e-05/0.2583, allocations: 11.91 kB / 0.9857 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.601e-05/0.2583, allocations: 20.83 kB / 0.9857 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.847e-05/0.2584, allocations: 8 kB / 0.9857 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/0.2584, allocations: 3.953 kB / 0.9857 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.2584, allocations: 0 / 0.9857 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002112/0.2586, allocations: 229.4 kB / 0.9859 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.2586, allocations: 0 / 0.9859 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001943/0.2588, allocations: 51.95 kB / 0.986 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.2588, allocations: 0 / 0.986 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.2588, allocations: 7.922 kB / 0.986 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.2589, allocations: 0 / 0.986 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2589, allocations: 4 kB / 0.986 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007958/0.2597, allocations: 432.6 kB / 0.9864 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.776e-05/0.2597, allocations: 96.84 kB / 0.9865 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.572e-05/0.2597, allocations: 3.984 kB / 0.9865 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001955/0.2599, allocations: 43.95 kB / 0.9865 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.567e-05/0.26, allocations: 11.98 kB / 0.9865 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.788e-06/0.26, allocations: 4 kB / 0.9865 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.36e-05/0.2601, allocations: 111.2 kB / 0.9866 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2601, allocations: 0 / 0.9866 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002825/0.2604, allocations: 36 kB / 0.9867 GB, free: 19.87 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.001092/0.2615, allocations: 0.9911 MB / 0.9876 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007858/0.2623, allocations: 307.8 kB / 0.9879 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.2623, allocations: 3.938 kB / 0.9879 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003762/0.2627, allocations: 163.8 kB / 0.9881 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003481/0.263, allocations: 20.61 kB / 0.9881 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002049/0.2651, allocations: 1.187 MB / 0.9893 GB, free: 17.13 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002029/0.2653, allocations: 0.7318 MB / 0.99 GB, free: 16.38 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.283e-05/0.2654, allocations: 11.98 kB / 0.99 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.358e-05/0.2655, allocations: 39.42 kB / 0.99 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of SimCode: time 9.32e-07/0.2655, allocations: 0 / 0.99 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01306/0.2786, allocations: 2.97 MB / 0.9929 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001295/0.2788, allocations: 193 kB / 0.9931 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.687/1.965, allocations: 0 / 0.9931 GB, free: 13.29 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)