Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.453/1.453, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001786/0.001786, allocations: 178.8 kB / 326.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.098/2.098, allocations: 205.4 MB / 0.5775 GB, free: 20.24 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001012/0.001013, allocations: 91.72 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003632/0.0003632, allocations: 13.44 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2383, allocations: 106.3 MB / 0.9002 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos): time 0.001314/0.2397, allocations: 1.093 MB / 0.9012 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002506/0.24, allocations: 122 kB / 0.9013 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.75e-05/0.24, allocations: 0 / 0.9013 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.591e-05/0.2401, allocations: 3.938 kB / 0.9013 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.229e-05/0.2401, allocations: 0 / 0.9013 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001202/0.2402, allocations: 7.984 kB / 0.9014 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.122e-05/0.2403, allocations: 11.98 kB / 0.9014 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.068e-05/0.2404, allocations: 7.984 kB / 0.9014 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.201e-05/0.2405, allocations: 11.94 kB / 0.9014 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.574e-05/0.2405, allocations: 15.97 kB / 0.9014 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.2406, allocations: 0 / 0.9014 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.254e-05/0.2406, allocations: 0 / 0.9014 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.105e-05/0.2406, allocations: 3.938 kB / 0.9014 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.346e-05/0.2406, allocations: 33.7 kB / 0.9014 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.385e-05/0.2407, allocations: 7.969 kB / 0.9014 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.2407, allocations: 3.938 kB / 0.9014 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.113e-06/0.2407, allocations: 0 / 0.9014 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.2407, allocations: 4 kB / 0.9015 GB, free: 62.5 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004366/0.2412, allocations: 339.4 kB / 0.9018 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.417e-05/0.2413, allocations: 8.031 kB / 0.9018 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.949e-05/0.2413, allocations: 30.56 kB / 0.9018 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.784e-05/0.2413, allocations: 0 / 0.9018 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.924e-05/0.2414, allocations: 175.2 kB / 0.902 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.2414, allocations: 0 / 0.902 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.2415, allocations: 4 kB / 0.902 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000221/0.2417, allocations: 57.67 kB / 0.902 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.2417, allocations: 0 / 0.902 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.2417, allocations: 0 / 0.902 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.403e-06/0.2418, allocations: 4 kB / 0.902 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002186/0.242, allocations: 43.91 kB / 0.9021 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003166/0.2423, allocations: 256.9 kB / 0.9023 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001542/0.2425, allocations: 38.56 kB / 0.9024 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.2425, allocations: 0 / 0.9024 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.2425, allocations: 34.56 kB / 0.9024 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.2425, allocations: 0 / 0.9024 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0004542/0.243, allocations: 105.7 kB / 0.9025 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.896e-05/0.2431, allocations: 51.41 kB / 0.9025 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.101e-05/0.2431, allocations: 101.8 kB / 0.9026 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.107e-06/0.2431, allocations: 25.7 kB / 0.9027 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.247e-05/0.2432, allocations: 84.14 kB / 0.9028 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.602e-05/0.2432, allocations: 3.906 kB / 0.9028 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.468e-06/0.2432, allocations: 4 kB / 0.9028 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.557e-05/0.2433, allocations: 318.7 kB / 0.9031 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.2434, allocations: 28 kB / 0.9031 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.407e-05/0.2435, allocations: 19.98 kB / 0.9031 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001025/0.2436, allocations: 24.05 kB / 0.9031 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.2436, allocations: 0 / 0.9031 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002457/0.2439, allocations: 81.59 kB / 0.9032 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.2439, allocations: 7.938 kB / 0.9032 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.2439, allocations: 0 / 0.9032 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.2439, allocations: 0 / 0.9032 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.2441, allocations: 16.02 kB / 0.9032 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.2441, allocations: 7.984 kB / 0.9032 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.176e-05/0.2441, allocations: 4 kB / 0.9032 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-06/0.2442, allocations: 0 / 0.9032 GB, free: 60.44 MB / 0.6042 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 (2): * Single equations (assignments): 2 * Array equations: 0 * 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 6.334e-05/0.2442, allocations: 117.8 kB / 0.9034 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.422e-05/0.2443, allocations: 3.906 kB / 0.9034 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002773/0.2446, allocations: 88.91 kB / 0.9034 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.2446, allocations: 0 / 0.9034 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.2446, allocations: 3.984 kB / 0.9034 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.2446, allocations: 0 / 0.9034 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001761/0.2448, allocations: 157.6 kB / 0.9036 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2448, allocations: 4.031 kB / 0.9036 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.48e-05/0.2449, allocations: 15.98 kB / 0.9036 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.2449, allocations: 0 / 0.9036 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.2449, allocations: 0 / 0.9036 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.2449, allocations: 0 / 0.9036 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2449, allocations: 0 / 0.9036 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002716/0.2452, allocations: 175.5 kB / 0.9038 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.151e-05/0.2452, allocations: 81.11 kB / 0.9039 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.2453, allocations: 3.984 kB / 0.9039 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.2454, allocations: 4 kB / 0.9039 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.331e-05/0.2454, allocations: 4.031 kB / 0.9039 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.92e-06/0.2454, allocations: 11.92 kB / 0.9039 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.546e-05/0.2455, allocations: 79.28 kB / 0.904 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2455, allocations: 0 / 0.904 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003773/0.2459, allocations: 8 kB / 0.904 GB, free: 59.6 MB / 0.6042 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 (2): * Single equations (assignments): 2 * Array equations: 0 * 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.0005134/0.2464, allocations: 0.7046 MB / 0.9047 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002656/0.2467, allocations: 51.98 kB / 0.9047 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2467, allocations: 0 / 0.9047 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.2468, allocations: 23.92 kB / 0.9047 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002951/0.2471, allocations: 10.91 kB / 0.9047 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000485/0.2476, allocations: 154.3 kB / 0.9049 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001211/0.2477, allocations: 0.677 MB / 0.9055 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.128e-05/0.2478, allocations: 4 kB / 0.9056 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.292e-05/0.2478, allocations: 11.38 kB / 0.9056 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of SimCode: time 3.8e-07/0.2479, allocations: 0 / 0.9056 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01393/0.2618, allocations: 0.9858 MB / 0.9065 GB, free: 57.03 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001575/0.262, allocations: 193.7 kB / 0.9067 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.49/1.752, allocations: 0 / 0.9067 GB, free: 56.79 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe 2>&1)