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.000742/0.0007421, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.004228/0.004228, allocations: 169 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.32/1.32, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.651/1.651, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0005095/0.0005095, allocations: 17.81 kB / 0.6744 GB, free: 25.77 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2143/0.2148, allocations: 116.3 MB / 0.788 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort): time 0.0009775/0.2158, allocations: 0.5489 MB / 0.7886 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001162/0.217, allocations: 1.02 MB / 0.7895 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.842e-05/0.217, allocations: 0 / 0.7895 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 7.851e-05/0.2171, allocations: 3.938 kB / 0.7896 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.572e-05/0.2172, allocations: 23.8 kB / 0.7896 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002713/0.2175, allocations: 67.92 kB / 0.7896 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001186/0.2176, allocations: 115.6 kB / 0.7897 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001382/0.2177, allocations: 41.39 kB / 0.7898 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.51e-05/0.2178, allocations: 47.81 kB / 0.7898 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.637e-05/0.2179, allocations: 43.77 kB / 0.7899 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.2179, allocations: 4 kB / 0.7899 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.388e-05/0.218, allocations: 55.89 kB / 0.7899 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.141e-05/0.2181, allocations: 31.92 kB / 0.79 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.59e-05/0.2181, allocations: 73.31 kB / 0.79 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001915/0.2183, allocations: 183.6 kB / 0.7902 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.2183, allocations: 0 / 0.7902 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2183, allocations: 0 / 0.7902 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.2184, allocations: 0 / 0.7902 GB, free: 9.176 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.0007482/0.2191, allocations: 486.9 kB / 0.7907 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.2192, allocations: 16.02 kB / 0.7907 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.061e-05/0.2192, allocations: 42.69 kB / 0.7907 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.151e-05/0.2192, allocations: 20.69 kB / 0.7907 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001661/0.2194, allocations: 196.1 kB / 0.7909 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.2194, allocations: 12.31 kB / 0.7909 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.666e-05/0.2195, allocations: 4.375 kB / 0.791 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005455/0.22, allocations: 220.9 kB / 0.7912 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.22, allocations: 3.938 kB / 0.7912 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.22, allocations: 0 / 0.7912 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.064e-05/0.2201, allocations: 19.98 kB / 0.7912 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007475/0.2208, allocations: 251.8 kB / 0.7914 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008779/0.2217, allocations: 488.3 kB / 0.7919 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004468/0.2222, allocations: 162.5 kB / 0.792 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004218/0.2226, allocations: 160.8 kB / 0.7922 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.349e-05/0.2226, allocations: 0 / 0.7922 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.2227, allocations: 34.56 kB / 0.7922 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 9.52e-07/0.2227, allocations: 0 / 0.7922 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.001333/0.224, allocations: 492.2 kB / 0.7927 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.2241, allocations: 51.41 kB / 0.7928 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.2242, allocations: 144.6 kB / 0.7929 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.2242, allocations: 29.7 kB / 0.7929 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.3e-05/0.2243, allocations: 108.4 kB / 0.793 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.529e-05/0.2243, allocations: 43.3 kB / 0.7931 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-05/0.2244, allocations: 21.7 kB / 0.7931 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.2245, allocations: 322.8 kB / 0.7934 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004021/0.2249, allocations: 139.9 kB / 0.7935 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003848/0.2253, allocations: 139.9 kB / 0.7937 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007764/0.226, allocations: 300.6 kB / 0.7939 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2261, allocations: 4 kB / 0.7939 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008305/0.2269, allocations: 340.6 kB / 0.7943 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.2269, allocations: 6.812 kB / 0.7943 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.2269, allocations: 0 / 0.7943 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.2269, allocations: 0 / 0.7943 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002496/0.2272, allocations: 59.95 kB / 0.7943 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.2272, allocations: 3.938 kB / 0.7943 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001872/0.2274, allocations: 47.86 kB / 0.7944 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.139e-05/0.2274, allocations: 7.938 kB / 0.7944 GB, free: 4.66 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001049/0.2275, allocations: 125.8 kB / 0.7945 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.29e-05/0.2276, allocations: 11.84 kB / 0.7945 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.316e-05/0.2276, allocations: 12.84 kB / 0.7945 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.057e-05/0.2276, allocations: 11.98 kB / 0.7945 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.2277, allocations: 7.938 kB / 0.7946 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.2277, allocations: 0 / 0.7946 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002451/0.2279, allocations: 229.4 kB / 0.7948 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.2279, allocations: 0 / 0.7948 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002057/0.2281, allocations: 47.95 kB / 0.7948 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.2281, allocations: 7.938 kB / 0.7948 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.2282, allocations: 0 / 0.7948 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2282, allocations: 0 / 0.7948 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.2282, allocations: 7.922 kB / 0.7948 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008763/0.2291, allocations: 431.2 kB / 0.7952 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.822e-05/0.2291, allocations: 96.86 kB / 0.7953 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.2291, allocations: 0 / 0.7953 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002163/0.2294, allocations: 39.95 kB / 0.7954 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.942e-05/0.2294, allocations: 19.86 kB / 0.7954 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/0.2294, allocations: 11.98 kB / 0.7954 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.231e-05/0.2295, allocations: 105.9 kB / 0.7955 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2295, allocations: 0 / 0.7955 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002647/0.2298, allocations: 44 kB / 0.7956 GB, free: 3.379 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001238/0.231, allocations: 0.9894 MB / 0.7965 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0008338/0.2319, allocations: 303.7 kB / 0.7968 GB, free: 2.066 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.2319, allocations: 0 / 0.7968 GB, free: 2.066 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004161/0.2323, allocations: 163.9 kB / 0.797 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000328/0.2326, allocations: 30.78 kB / 0.797 GB, free: 1.879 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003314/0.236, allocations: 2.34 MB / 0.7993 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002671/0.2363, allocations: 0.72 MB / 0.8 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 8.041e-05/0.2363, allocations: 15.97 kB / 0.8 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.325e-05/0.2364, allocations: 39.42 kB / 0.8 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of SimCode: time 3.61e-07/0.2364, allocations: 0 / 0.8 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0119/0.2483, allocations: 2.999 MB / 0.803 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002157/0.2486, allocations: 207 kB / 0.8032 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.651/1.9, allocations: 0 / 0.8032 GB, free: 11.54 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/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)