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.Product.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.Product,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Product",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Product,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Product",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.55/1.55, 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.001068/0.001068, allocations: 177.7 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.993/1.993, allocations: 205.4 MB / 0.5775 GB, free: 20.55 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.0009198/0.0009201, allocations: 87.86 kB / 0.6821 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003925/0.0003925, allocations: 11.59 kB / 0.7963 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/0.2517, allocations: 106.4 MB / 0.9002 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1897/0.4414, allocations: 131.4 MB / 1.028 GB, free: 12.62 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004091/0.4419, allocations: 67.95 kB / 1.029 GB, free: 12.56 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002935/0.4449, allocations: 0.8253 MB / 1.029 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.895e-06/0.4449, allocations: 0 / 1.029 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.14e-05/0.4449, allocations: 4 kB / 1.029 GB, free: 11.73 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006038/0.4456, allocations: 383.1 kB / 1.03 GB, free: 11.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.668e-05/0.4456, allocations: 8.031 kB / 1.03 GB, free: 11.3 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.77e-05/0.4457, allocations: 34.55 kB / 1.03 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.31e-05/0.4457, allocations: 4 kB / 1.03 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001647/0.4459, allocations: 170.9 kB / 1.03 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.4459, allocations: 8 kB / 1.03 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.344e-05/0.4459, allocations: 4 kB / 1.03 GB, free: 11.03 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000326/0.4463, allocations: 77.66 kB / 1.03 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.4463, allocations: 3.984 kB / 1.03 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.4463, allocations: 0 / 1.03 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.293e-06/0.4463, allocations: 0 / 1.03 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003971/0.4467, allocations: 87.92 kB / 1.03 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006618/0.4474, allocations: 308.7 kB / 1.03 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002682/0.4477, allocations: 66.53 kB / 1.03 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.314e-05/0.4477, allocations: 0 / 1.03 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/0.4478, allocations: 34.56 kB / 1.03 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 1.193e-06/0.4478, allocations: 0 / 1.03 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0007245/0.4485, allocations: 169.6 kB / 1.031 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.444e-05/0.4486, allocations: 51.41 kB / 1.031 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.911e-05/0.4487, allocations: 101 kB / 1.031 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.4487, allocations: 25.7 kB / 1.031 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.427e-05/0.4488, allocations: 92.05 kB / 1.031 GB, free: 9.926 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.266e-05/0.4488, allocations: 7.906 kB / 1.031 GB, free: 9.918 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-06/0.4488, allocations: 0 / 1.031 GB, free: 9.918 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.449, allocations: 318.8 kB / 1.031 GB, free: 9.598 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002139/0.4492, allocations: 39.97 kB / 1.031 GB, free: 9.559 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002132/0.4494, allocations: 43.97 kB / 1.031 GB, free: 9.516 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002173/0.4497, allocations: 47.95 kB / 1.031 GB, free: 9.469 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.4497, allocations: 3.938 kB / 1.031 GB, free: 9.465 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004851/0.4502, allocations: 121.6 kB / 1.031 GB, free: 9.34 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.4502, allocations: 4 kB / 1.031 GB, free: 9.336 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.4502, allocations: 3.938 kB / 1.031 GB, free: 9.332 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.4502, allocations: 0 / 1.031 GB, free: 9.332 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001874/0.4504, allocations: 23.97 kB / 1.031 GB, free: 9.309 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.4505, allocations: 4 kB / 1.032 GB, free: 9.305 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001316/0.4506, allocations: 23.92 kB / 1.032 GB, free: 9.281 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.916e-06/0.4506, allocations: 3.938 kB / 1.032 GB, free: 9.277 MB / 0.6823 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 (3): * Single equations (assignments): 3 * 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 0.0001072/0.4507, allocations: 118.3 kB / 1.032 GB, free: 9.152 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.218e-05/0.4508, allocations: 3.906 kB / 1.032 GB, free: 9.148 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.553e-05/0.4508, allocations: 3.906 kB / 1.032 GB, free: 9.141 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.4508, allocations: 4 kB / 1.032 GB, free: 9.137 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.4509, allocations: 0 / 1.032 GB, free: 9.137 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.4509, allocations: 4 kB / 1.032 GB, free: 9.133 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002608/0.4511, allocations: 173.6 kB / 1.032 GB, free: 8.914 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.4511, allocations: 0 / 1.032 GB, free: 8.914 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001446/0.4513, allocations: 19.98 kB / 1.032 GB, free: 8.895 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.4513, allocations: 0 / 1.032 GB, free: 8.895 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.4513, allocations: 0 / 1.032 GB, free: 8.895 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.4513, allocations: 0 / 1.032 GB, free: 8.895 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.4513, allocations: 0 / 1.032 GB, free: 8.895 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005257/0.4519, allocations: 227.7 kB / 1.032 GB, free: 8.656 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.759e-05/0.4519, allocations: 81.02 kB / 1.032 GB, free: 8.559 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.452, allocations: 4.047 kB / 1.032 GB, free: 8.555 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001902/0.4522, allocations: 19.97 kB / 1.032 GB, free: 8.535 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.002e-05/0.4522, allocations: 3.984 kB / 1.032 GB, free: 8.531 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.153e-06/0.4523, allocations: 4 kB / 1.032 GB, free: 8.527 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.265e-05/0.4523, allocations: 91.58 kB / 1.032 GB, free: 8.438 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4523, allocations: 0 / 1.032 GB, free: 8.438 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003869/0.4527, allocations: 4 kB / 1.032 GB, free: 8.434 MB / 0.6823 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 (3): * Single equations (assignments): 3 * 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.0008947/0.4536, allocations: 0.7522 MB / 1.033 GB, free: 7.656 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004834/0.4541, allocations: 91.92 kB / 1.033 GB, free: 7.566 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.4541, allocations: 0 / 1.033 GB, free: 7.566 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002258/0.4544, allocations: 51.95 kB / 1.033 GB, free: 7.516 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002989/0.4547, allocations: 0 / 1.033 GB, free: 7.516 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006379/0.4553, allocations: 178 kB / 1.033 GB, free: 7.297 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002832/0.4556, allocations: 0.6848 MB / 1.034 GB, free: 6.586 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.989e-05/0.4557, allocations: 4 kB / 1.034 GB, free: 6.582 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.519e-05/0.4558, allocations: 19.36 kB / 1.034 GB, free: 6.562 MB / 0.6823 GB Notification: Performance of SimCode: time 4.51e-07/0.4558, allocations: 0 / 1.034 GB, free: 6.562 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01453/0.4703, allocations: 1.287 MB / 1.035 GB, free: 5.434 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002846/0.4707, allocations: 187.9 kB / 1.035 GB, free: 5.199 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.445/1.916, allocations: 2.391 kB / 1.035 GB, free: 5.199 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Product_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Product.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe 2>&1)