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.393/1.393, allocations: 252 MB / 267 MB, free: 10.96 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.001049/0.001049, allocations: 187.5 kB / 326.6 MB, free: 2.215 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.903/1.903, allocations: 205.4 MB / 0.5776 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.0007375/0.0007374, allocations: 86.08 kB / 0.6823 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003228/0.0003229, allocations: 13.34 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2478/0.2481, allocations: 106.3 MB / 0.9003 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Product): time 0.001776/0.25, allocations: 1.13 MB / 0.9014 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002687/0.2503, allocations: 116.5 kB / 0.9015 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.461e-05/0.2503, allocations: 0 / 0.9015 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.431e-05/0.2504, allocations: 0 / 0.9015 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.988e-05/0.2504, allocations: 7.875 kB / 0.9016 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 5.498e-05/0.2505, allocations: 11.98 kB / 0.9016 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.669e-05/0.2506, allocations: 35.86 kB / 0.9016 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.2507, allocations: 19.97 kB / 0.9016 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.046e-05/0.2508, allocations: 11.98 kB / 0.9016 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.352e-05/0.2508, allocations: 15.92 kB / 0.9016 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.2508, allocations: 4 kB / 0.9016 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.735e-06/0.2509, allocations: 0 / 0.9016 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.426e-05/0.2509, allocations: 7.938 kB / 0.9017 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.133e-05/0.2509, allocations: 33.64 kB / 0.9017 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.45e-05/0.251, allocations: 23.94 kB / 0.9017 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.251, allocations: 0 / 0.9017 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.975e-06/0.251, allocations: 3.984 kB / 0.9017 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.251, allocations: 4 kB / 0.9017 GB, free: 62.33 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004753/0.2515, allocations: 363.5 kB / 0.9021 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.2515, allocations: 12.03 kB / 0.9021 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.869e-05/0.2516, allocations: 30.56 kB / 0.9021 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.436e-05/0.2516, allocations: 4 kB / 0.9021 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.992e-05/0.2517, allocations: 174.9 kB / 0.9023 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.2517, allocations: 3.984 kB / 0.9023 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.42e-05/0.2517, allocations: 8 kB / 0.9023 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002516/0.252, allocations: 73.66 kB / 0.9024 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.252, allocations: 4 kB / 0.9024 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.252, allocations: 4 kB / 0.9024 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.252, allocations: 0 / 0.9024 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002816/0.2523, allocations: 87.92 kB / 0.9024 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003075/0.2526, allocations: 268.8 kB / 0.9027 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002014/0.2529, allocations: 70.53 kB / 0.9028 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001513/0.253, allocations: 52.91 kB / 0.9028 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.245e-05/0.253, allocations: 4 kB / 0.9028 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.2531, allocations: 38.56 kB / 0.9029 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.2531, allocations: 0 / 0.9029 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0005465/0.2536, allocations: 157.5 kB / 0.903 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.988e-05/0.2537, allocations: 55.41 kB / 0.9031 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.852e-05/0.2537, allocations: 117.8 kB / 0.9032 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/0.2538, allocations: 29.7 kB / 0.9032 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.702e-05/0.2538, allocations: 95.97 kB / 0.9033 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.632e-05/0.2538, allocations: 3.906 kB / 0.9033 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-06/0.2538, allocations: 0 / 0.9033 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.403e-05/0.2539, allocations: 314.8 kB / 0.9036 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00015/0.254, allocations: 43.95 kB / 0.9036 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001339/0.2542, allocations: 39.97 kB / 0.9037 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001419/0.2543, allocations: 51.89 kB / 0.9037 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.2543, allocations: 0 / 0.9037 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000308/0.2547, allocations: 117.6 kB / 0.9038 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.2547, allocations: 11.88 kB / 0.9039 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.2547, allocations: 0 / 0.9039 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.2547, allocations: 0 / 0.9039 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000132/0.2548, allocations: 27.98 kB / 0.9039 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.2549, allocations: 0 / 0.9039 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.948e-05/0.2549, allocations: 19.94 kB / 0.9039 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.255, allocations: 3.984 kB / 0.9039 GB, free: 59.86 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 (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 5.827e-05/0.255, allocations: 109.8 kB / 0.904 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.298e-05/0.255, allocations: 7.906 kB / 0.904 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.811e-05/0.2551, allocations: 11.91 kB / 0.904 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.2551, allocations: 0 / 0.904 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.2551, allocations: 0 / 0.904 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.2551, allocations: 0 / 0.904 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001255/0.2552, allocations: 173.6 kB / 0.9042 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.2552, allocations: 0 / 0.9042 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.647e-05/0.2553, allocations: 19.98 kB / 0.9042 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.2554, allocations: 4 kB / 0.9042 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.782e-06/0.2554, allocations: 0 / 0.9042 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.2554, allocations: 0 / 0.9042 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.2554, allocations: 0 / 0.9042 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003398/0.2557, allocations: 219.4 kB / 0.9044 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.139e-05/0.2558, allocations: 89 kB / 0.9045 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.2558, allocations: 0 / 0.9045 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.2559, allocations: 19.98 kB / 0.9045 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.521e-05/0.2559, allocations: 4.359 kB / 0.9045 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.256, allocations: 4 kB / 0.9045 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.518e-05/0.256, allocations: 83.28 kB / 0.9046 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/0.256, allocations: 0 / 0.9046 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001895/0.2562, allocations: 8 kB / 0.9046 GB, free: 59.02 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 (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.0005507/0.2567, allocations: 0.7592 MB / 0.9054 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003374/0.2571, allocations: 87.92 kB / 0.9054 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2571, allocations: 0 / 0.9054 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001478/0.2573, allocations: 43.97 kB / 0.9055 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002989/0.2576, allocations: 15.98 kB / 0.9055 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004318/0.258, allocations: 177.9 kB / 0.9057 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001937/0.2582, allocations: 0.6809 MB / 0.9063 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.019e-05/0.2583, allocations: 11.94 kB / 0.9064 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.883e-05/0.2583, allocations: 15.44 kB / 0.9064 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of SimCode: time 2.5e-07/0.2583, allocations: 0 / 0.9064 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01481/0.2731, allocations: 1.288 MB / 0.9076 GB, free: 56.02 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002007/0.2734, allocations: 205.8 kB / 0.9078 GB, free: 55.78 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.67/1.943, allocations: 2.109 kB / 0.9078 GB, free: 55.78 MB / 0.6042 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)