Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007222/0.0007222, allocations: 91.69 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007719/0.0007719, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.23/1.23, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.517/1.517, allocations: 292.7 MB / 0.5499 GB, free: 14.54 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005116/0.0005116, allocations: 21.31 kB / 0.6738 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2304/0.2309, allocations: 116.3 MB / 0.7874 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort): time 0.001011/0.2319, allocations: 0.5335 MB / 0.7879 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00112/0.2331, allocations: 1.001 MB / 0.7889 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.974e-05/0.2331, allocations: 0 / 0.7889 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.635e-05/0.2332, allocations: 7.938 kB / 0.7889 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.825e-05/0.2333, allocations: 23.78 kB / 0.789 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002924/0.2336, allocations: 63.94 kB / 0.789 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001215/0.2337, allocations: 107.6 kB / 0.7891 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001466/0.2339, allocations: 37.38 kB / 0.7891 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.302e-05/0.234, allocations: 39.84 kB / 0.7892 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.903e-05/0.234, allocations: 43.83 kB / 0.7892 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.2341, allocations: 4 kB / 0.7892 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.662e-05/0.2342, allocations: 55.89 kB / 0.7893 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.598e-05/0.2342, allocations: 19.92 kB / 0.7893 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.222e-05/0.2342, allocations: 41.64 kB / 0.7893 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001532/0.2344, allocations: 135.9 kB / 0.7895 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.2344, allocations: 0 / 0.7895 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2344, allocations: 4 kB / 0.7895 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.047e-06/0.2344, allocations: 0 / 0.7895 GB, free: 9.656 MB / 0.6075 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.000722/0.2352, allocations: 486.8 kB / 0.7899 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.2352, allocations: 8.031 kB / 0.79 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.4e-05/0.2353, allocations: 42.55 kB / 0.79 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.837e-05/0.2353, allocations: 15.81 kB / 0.79 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002209/0.2355, allocations: 210.7 kB / 0.7902 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.2356, allocations: 7.984 kB / 0.7902 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.462e-05/0.2356, allocations: 12 kB / 0.7902 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005083/0.2361, allocations: 216.8 kB / 0.7904 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.2361, allocations: 0 / 0.7904 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.2361, allocations: 0 / 0.7904 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.23e-05/0.2362, allocations: 12 kB / 0.7904 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006398/0.2368, allocations: 259.8 kB / 0.7907 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008192/0.2377, allocations: 480.3 kB / 0.7912 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003784/0.238, allocations: 174.5 kB / 0.7913 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003301/0.2384, allocations: 152.8 kB / 0.7915 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.513e-05/0.2384, allocations: 0 / 0.7915 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.2384, allocations: 30.56 kB / 0.7915 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 1.102e-06/0.2384, allocations: 4 kB / 0.7915 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.001097/0.2395, allocations: 488.5 kB / 0.792 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.251e-05/0.2396, allocations: 51.41 kB / 0.792 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.2397, allocations: 152.6 kB / 0.7922 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.2397, allocations: 29.7 kB / 0.7922 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.666e-05/0.2398, allocations: 108.4 kB / 0.7923 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.964e-05/0.2398, allocations: 47.2 kB / 0.7923 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.863e-06/0.2398, allocations: 0 / 0.7923 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.24, allocations: 326.8 kB / 0.7926 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003184/0.2403, allocations: 135.9 kB / 0.7928 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003116/0.2406, allocations: 143.9 kB / 0.7929 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003146/0.2409, allocations: 143.9 kB / 0.793 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2409, allocations: 0 / 0.793 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000684/0.2416, allocations: 341.2 kB / 0.7934 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.2416, allocations: 8 kB / 0.7934 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.2417, allocations: 0 / 0.7934 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.2417, allocations: 3.953 kB / 0.7934 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002116/0.2419, allocations: 51.95 kB / 0.7934 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.2419, allocations: 0 / 0.7934 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001503/0.2421, allocations: 47.86 kB / 0.7935 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.753e-05/0.2421, allocations: 4 kB / 0.7935 GB, free: 5.328 MB / 0.6075 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.192e-05/0.2422, allocations: 125.8 kB / 0.7936 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.04e-05/0.2422, allocations: 11.91 kB / 0.7936 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.34e-05/0.2423, allocations: 16.78 kB / 0.7936 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.079e-05/0.2423, allocations: 15.94 kB / 0.7936 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.2423, allocations: 0 / 0.7936 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.2423, allocations: 0 / 0.7936 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002387/0.2426, allocations: 229.4 kB / 0.7939 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.2426, allocations: 4 kB / 0.7939 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002017/0.2428, allocations: 55.89 kB / 0.7939 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.2428, allocations: 0 / 0.7939 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.2428, allocations: 0 / 0.7939 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.2428, allocations: 0 / 0.7939 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.2428, allocations: 3.953 kB / 0.7939 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007493/0.2436, allocations: 437.9 kB / 0.7943 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.097e-05/0.2436, allocations: 88.86 kB / 0.7944 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.136e-05/0.2436, allocations: 4 kB / 0.7944 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001855/0.2438, allocations: 43.95 kB / 0.7945 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.978e-05/0.2439, allocations: 11.98 kB / 0.7945 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.299e-05/0.2439, allocations: 7.938 kB / 0.7945 GB, free: 4.199 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.174e-05/0.244, allocations: 109.9 kB / 0.7946 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.244, allocations: 0 / 0.7946 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002777/0.2443, allocations: 36 kB / 0.7946 GB, free: 4.059 MB / 0.6075 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.001148/0.2454, allocations: 0.9932 MB / 0.7956 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007057/0.2462, allocations: 307.8 kB / 0.7959 GB, free: 2.738 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.2462, allocations: 0 / 0.7959 GB, free: 2.738 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003405/0.2465, allocations: 163.8 kB / 0.7961 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003115/0.2468, allocations: 19.98 kB / 0.7961 GB, free: 2.559 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002009/0.2489, allocations: 1.197 MB / 0.7972 GB, free: 1.312 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002737/0.2492, allocations: 0.7201 MB / 0.7979 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.318e-05/0.2492, allocations: 23.95 kB / 0.798 GB, free: 0.543 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.025e-05/0.2493, allocations: 35.42 kB / 0.798 GB, free: 0.5117 MB / 0.6075 GB Notification: Performance of SimCode: time 3.4e-07/0.2493, allocations: 0 / 0.798 GB, free: 0.5117 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02439/0.2737, allocations: 2.966 MB / 0.8009 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000338/0.2742, allocations: 202.6 kB / 0.8011 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.666/1.94, allocations: 0 / 0.8011 GB, free: 13.44 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe 2>&1) Environment - environmentSimulation: