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.Modulo.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.Modulo,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo",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.564/1.564, allocations: 249.3 MB / 261.8 MB, free: 5.914 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001157/0.001158, allocations: 176.8 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.694/1.694, allocations: 205.2 MB / 0.572 GB, free: 10.6 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.0008763/0.0008762, allocations: 86.47 kB / 0.6764 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.238e-05/3.24e-05, allocations: 4 kB / 0.788 GB, free: 96.97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2238/0.2238, allocations: 106.3 MB / 0.8919 GB, free: 6.531 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6884/0.9123, allocations: 131.3 MB / 1.02 GB, free: 3.375 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002115/0.9125, allocations: 79.25 kB / 1.02 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003773/0.9163, allocations: 1.424 MB / 1.022 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.573e-06/0.9163, allocations: 0 / 1.022 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.9164, allocations: 0 / 1.022 GB, free: 2.09 MB / 0.6355 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.000403/0.9168, allocations: 362.5 kB / 1.022 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.9168, allocations: 8.031 kB / 1.022 GB, free: 1.684 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.661e-05/0.9169, allocations: 38.38 kB / 1.022 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.207e-05/0.9169, allocations: 3.906 kB / 1.022 GB, free: 1.637 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.917, allocations: 171 kB / 1.022 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.917, allocations: 3.938 kB / 1.022 GB, free: 1.426 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.9171, allocations: 7.984 kB / 1.022 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001133/0.9172, allocations: 42.33 kB / 1.022 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.9172, allocations: 0 / 1.022 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.9172, allocations: 3.938 kB / 1.022 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.9172, allocations: 4 kB / 1.022 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.45e-05/0.9173, allocations: 22.55 kB / 1.022 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004759/0.9178, allocations: 308.7 kB / 1.023 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.391e-05/0.9178, allocations: 37.45 kB / 1.023 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.272e-05/0.9179, allocations: 15.73 kB / 1.023 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.805e-05/0.9179, allocations: 4 kB / 1.023 GB, free: 0.9688 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.9179, allocations: 30.56 kB / 1.023 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.918, allocations: 0 / 1.023 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001457/0.9181, allocations: 56.73 kB / 1.023 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.488e-05/0.9181, allocations: 59.41 kB / 1.023 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.58e-05/0.9182, allocations: 104.3 kB / 1.023 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.9183, allocations: 28.89 kB / 1.023 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.281e-05/0.9183, allocations: 87.56 kB / 1.023 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.874e-05/0.9183, allocations: 11.84 kB / 1.023 GB, free: 0.5703 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-06/0.9183, allocations: 0 / 1.023 GB, free: 0.5703 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.9185, allocations: 314.8 kB / 1.023 GB, free: 264 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.239e-05/0.9185, allocations: 4 kB / 1.023 GB, free: 260 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.075e-05/0.9185, allocations: 15.86 kB / 1.023 GB, free: 248 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.55e-05/0.9186, allocations: 11.62 kB / 1.023 GB, free: 240 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.9186, allocations: 0 / 1.023 GB, free: 240 kB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.6e-05/0.9187, allocations: 56.84 kB / 1.023 GB, free: 184 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.9187, allocations: 4 kB / 1.023 GB, free: 180 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.9187, allocations: 0 / 1.023 GB, free: 180 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.9187, allocations: 0 / 1.023 GB, free: 180 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001443/0.9189, allocations: 19.98 kB / 1.023 GB, free: 160 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.9189, allocations: 3.938 kB / 1.023 GB, free: 156 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.844e-05/0.919, allocations: 19.98 kB / 1.023 GB, free: 136 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.919, allocations: 7.953 kB / 1.023 GB, free: 128 kB / 0.6355 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 () * 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 7.526e-05/0.9191, allocations: 104.4 kB / 1.023 GB, free: 20 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.508e-05/0.9191, allocations: 3.984 kB / 1.024 GB, free: 16 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.333e-05/0.9191, allocations: 8.031 kB / 1.024 GB, free: 4 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.9191, allocations: 0 / 1.024 GB, free: 4 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.9192, allocations: 0 / 1.024 GB, free: 4 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.9192, allocations: 4 kB / 1.024 GB, free: 0 / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001936/0.9194, allocations: 173.4 kB / 1.024 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.9194, allocations: 3.938 kB / 1.024 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.9195, allocations: 23.97 kB / 1.024 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.9195, allocations: 0 / 1.024 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.9195, allocations: 3.938 kB / 1.024 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.9195, allocations: 0 / 1.024 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.9195, allocations: 0 / 1.024 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001414/0.9197, allocations: 158.5 kB / 1.024 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.576e-05/0.9197, allocations: 81.11 kB / 1.024 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.9198, allocations: 0 / 1.024 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.9199, allocations: 19.92 kB / 1.024 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.059e-05/0.9199, allocations: 7.359 kB / 1.024 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.9199, allocations: 8 kB / 1.024 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.173e-05/0.92, allocations: 83.3 kB / 1.024 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/0.92, allocations: 0 / 1.024 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001992/0.9202, allocations: 8 kB / 1.024 GB, free: 15.38 MB / 0.6511 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 () * 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.0004383/0.9206, allocations: 0.6884 MB / 1.025 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 8.684e-05/0.9207, allocations: 31.78 kB / 1.025 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.9208, allocations: 0 / 1.025 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.296e-05/0.9208, allocations: 11 kB / 1.025 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000179/0.921, allocations: 4 kB / 1.025 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003399/0.9213, allocations: 106.4 kB / 1.025 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002642/0.9216, allocations: 0.6848 MB / 1.026 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.452e-05/0.9216, allocations: 11.98 kB / 1.026 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.046e-05/0.9217, allocations: 10.81 kB / 1.026 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of SimCode: time 1.824e-06/0.9217, allocations: 0 / 1.026 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01152/0.9332, allocations: 1.345 MB / 1.027 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002061/0.9335, allocations: 169.7 kB / 1.027 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.467/2.401, allocations: 0 / 1.027 GB, free: 12.34 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe 2>&1)