Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.601/2.601, allocations: 287.3 MB / 302.3 MB, free: 8.359 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.001582/0.001582, allocations: 183 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.085/2.085, allocations: 205.4 MB / 0.6295 GB, free: 10.58 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.001143/0.001143, allocations: 100.5 kB / 0.7428 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004914/0.0004918, allocations: 12.47 kB / 0.8657 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.2062, allocations: 115.3 MB / 0.9783 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort): time 0.0009927/0.2072, allocations: 0.5182 MB / 0.9788 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001319/0.2085, allocations: 1.001 MB / 0.9798 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.41e-05/0.2086, allocations: 3.938 kB / 0.9798 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.255e-05/0.2087, allocations: 7.922 kB / 0.9798 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.841e-05/0.2088, allocations: 19.91 kB / 0.9798 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003456/0.2092, allocations: 63.86 kB / 0.9799 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001168/0.2093, allocations: 71.91 kB / 0.98 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001463/0.2095, allocations: 37.38 kB / 0.98 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.376e-05/0.2095, allocations: 43.83 kB / 0.98 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.741e-05/0.2096, allocations: 47.77 kB / 0.9801 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.087e-05/0.2097, allocations: 4 kB / 0.9801 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001131/0.2098, allocations: 43.97 kB / 0.9801 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.334e-05/0.2098, allocations: 19.92 kB / 0.9801 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.763e-05/0.2099, allocations: 41.64 kB / 0.9802 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001963/0.2101, allocations: 139.9 kB / 0.9803 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.2101, allocations: 0 / 0.9803 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.873e-06/0.2101, allocations: 0 / 0.9803 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.2101, allocations: 0 / 0.9803 GB, free: 26.18 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.001022/0.2112, allocations: 490.7 kB / 0.9808 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.2112, allocations: 16.02 kB / 0.9808 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.671e-05/0.2113, allocations: 46.48 kB / 0.9808 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.246e-05/0.2113, allocations: 11.81 kB / 0.9809 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001861/0.2115, allocations: 202.8 kB / 0.981 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.2116, allocations: 4 kB / 0.981 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.793e-05/0.2116, allocations: 8 kB / 0.9811 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008279/0.2124, allocations: 218.8 kB / 0.9813 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.2125, allocations: 0 / 0.9813 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.959e-05/0.2125, allocations: 3.938 kB / 0.9813 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.81e-05/0.2125, allocations: 19.98 kB / 0.9813 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001299/0.2139, allocations: 247.8 kB / 0.9815 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001352/0.2152, allocations: 488.3 kB / 0.982 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007115/0.216, allocations: 170.5 kB / 0.9822 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.632e-05/0.216, allocations: 0 / 0.9822 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.216, allocations: 34.52 kB / 0.9822 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 2.495e-06/0.2161, allocations: 0 / 0.9822 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.002223/0.2183, allocations: 0.6323 MB / 0.9828 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.2184, allocations: 51.41 kB / 0.9829 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.2185, allocations: 150.1 kB / 0.983 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.2185, allocations: 25.7 kB / 0.983 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.665e-05/0.2186, allocations: 108.4 kB / 0.9831 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.427e-05/0.2187, allocations: 47.2 kB / 0.9832 GB, free: 23 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.322e-05/0.2187, allocations: 4 kB / 0.9832 GB, free: 23 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.063e-05/0.2188, allocations: 326.8 kB / 0.9835 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006602/0.2194, allocations: 139.9 kB / 0.9836 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006478/0.2201, allocations: 138.1 kB / 0.9837 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006507/0.2208, allocations: 143.9 kB / 0.9839 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.2208, allocations: 4 kB / 0.9839 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.001445/0.2222, allocations: 341.2 kB / 0.9842 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.2223, allocations: 8 kB / 0.9842 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.2223, allocations: 3.953 kB / 0.9842 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.613e-05/0.2223, allocations: 0 / 0.9842 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004045/0.2228, allocations: 55.95 kB / 0.9843 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.2228, allocations: 0 / 0.9843 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003213/0.2231, allocations: 47.86 kB / 0.9843 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.337e-05/0.2232, allocations: 4.234 kB / 0.9843 GB, free: 21.8 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 0.0001207/0.2233, allocations: 125.8 kB / 0.9844 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.386e-05/0.2233, allocations: 7.906 kB / 0.9845 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.847e-05/0.2234, allocations: 16.83 kB / 0.9845 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.282e-05/0.2234, allocations: 15.94 kB / 0.9845 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.2234, allocations: 0 / 0.9845 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.686e-06/0.2235, allocations: 4 kB / 0.9845 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003187/0.2238, allocations: 229.4 kB / 0.9847 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.2238, allocations: 0 / 0.9847 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003613/0.2242, allocations: 55.89 kB / 0.9848 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.2242, allocations: 4 kB / 0.9848 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/0.2242, allocations: 3.984 kB / 0.9848 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.2242, allocations: 0 / 0.9848 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.2242, allocations: 3.953 kB / 0.9848 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001441/0.2257, allocations: 427.8 kB / 0.9852 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.902e-05/0.2257, allocations: 100.8 kB / 0.9853 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.234e-05/0.2258, allocations: 4 kB / 0.9853 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003585/0.2262, allocations: 39.95 kB / 0.9853 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.822e-05/0.2263, allocations: 19.92 kB / 0.9853 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.163e-05/0.2263, allocations: 4 kB / 0.9853 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.342e-05/0.2264, allocations: 107.3 kB / 0.9854 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2264, allocations: 0 / 0.9854 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003913/0.2268, allocations: 39.98 kB / 0.9855 GB, free: 20.52 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.001816/0.2286, allocations: 0.991 MB / 0.9865 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001437/0.2301, allocations: 299.8 kB / 0.9867 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.2301, allocations: 0 / 0.9867 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006974/0.2308, allocations: 167.8 kB / 0.9869 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003762/0.2312, allocations: 18.05 kB / 0.9869 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00331/0.2346, allocations: 1.195 MB / 0.9881 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001929/0.2348, allocations: 0.7201 MB / 0.9888 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001555/0.235, allocations: 19.97 kB / 0.9888 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/0.2351, allocations: 39.42 kB / 0.9888 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of SimCode: time 1.072e-06/0.2351, allocations: 0 / 0.9888 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02174/0.2569, allocations: 2.959 MB / 0.9917 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002321/0.2572, allocations: 192.6 kB / 0.9919 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.459/2.716, allocations: 64 / 0.9919 GB, free: 13.93 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe 2>&1)