Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.714/1.714, allocations: 288.4 MB / 303.3 MB, free: 8.152 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009465/0.0009464, allocations: 182.1 kB / 372 MB, free: 10.25 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.652/1.652, allocations: 205.4 MB / 0.6307 GB, free: 9.957 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008185/0.0008188, allocations: 84.91 kB / 0.744 GB, free: 5.895 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003975/0.0003975, allocations: 18.31 kB / 0.867 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2453/0.2457, allocations: 115.3 MB / 0.9797 GB, free: 27.5 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo): time 0.0009506/0.2467, allocations: 415.2 kB / 0.9801 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000959/0.2477, allocations: 0.8633 MB / 0.9809 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.617e-05/0.2478, allocations: 0 / 0.9809 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.881e-05/0.2478, allocations: 0 / 0.9809 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.771e-05/0.2479, allocations: 7.938 kB / 0.9809 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001743/0.2481, allocations: 19.97 kB / 0.9809 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.65e-05/0.2482, allocations: 43.84 kB / 0.981 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.986e-05/0.2483, allocations: 8 kB / 0.981 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.791e-05/0.2484, allocations: 11.92 kB / 0.981 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.386e-05/0.2484, allocations: 19.92 kB / 0.981 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.2484, allocations: 0 / 0.981 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.244e-05/0.2485, allocations: 4 kB / 0.981 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.337e-05/0.2485, allocations: 11.98 kB / 0.981 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.424e-05/0.2485, allocations: 25.7 kB / 0.9811 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.206e-05/0.2486, allocations: 31.92 kB / 0.9811 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.2486, allocations: 0 / 0.9811 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.485e-06/0.2486, allocations: 0 / 0.9811 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.728e-06/0.2486, allocations: 3.938 kB / 0.9811 GB, free: 26.02 MB / 0.6198 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.0004792/0.2491, allocations: 367.5 kB / 0.9814 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.2491, allocations: 12.02 kB / 0.9814 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.877e-05/0.2492, allocations: 30.56 kB / 0.9815 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.651e-05/0.2492, allocations: 7.906 kB / 0.9815 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.2493, allocations: 175 kB / 0.9816 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.716e-06/0.2494, allocations: 0 / 0.9816 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.46e-05/0.2494, allocations: 4 kB / 0.9817 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002694/0.2497, allocations: 77.66 kB / 0.9817 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.2497, allocations: 0 / 0.9817 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.2497, allocations: 4 kB / 0.9817 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.2497, allocations: 0 / 0.9817 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000297/0.25, allocations: 91.86 kB / 0.9818 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003406/0.2504, allocations: 268.9 kB / 0.9821 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002191/0.2506, allocations: 62.53 kB / 0.9821 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001545/0.2507, allocations: 52.92 kB / 0.9822 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.2508, allocations: 0 / 0.9822 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.746e-05/0.2508, allocations: 30.56 kB / 0.9822 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 2.355e-06/0.2508, allocations: 0 / 0.9822 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0005447/0.2514, allocations: 173.4 kB / 0.9824 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.533e-05/0.2514, allocations: 59.41 kB / 0.9824 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.337e-05/0.2515, allocations: 109.8 kB / 0.9825 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.966e-06/0.2515, allocations: 29.64 kB / 0.9826 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.077e-05/0.2515, allocations: 88.14 kB / 0.9827 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.523e-05/0.2515, allocations: 3.906 kB / 0.9827 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-06/0.2515, allocations: 0 / 0.9827 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.043e-05/0.2516, allocations: 326.8 kB / 0.983 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001479/0.2518, allocations: 35.97 kB / 0.983 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001374/0.2519, allocations: 47.95 kB / 0.983 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001437/0.2521, allocations: 39.97 kB / 0.9831 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.2521, allocations: 0 / 0.9831 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003186/0.2524, allocations: 121.8 kB / 0.9832 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.2524, allocations: 12 kB / 0.9832 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.2524, allocations: 48 / 0.9832 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.2525, allocations: 7.969 kB / 0.9832 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/0.2526, allocations: 27.98 kB / 0.9832 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.2526, allocations: 0 / 0.9832 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.245e-05/0.2527, allocations: 19.98 kB / 0.9833 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.2527, allocations: 0 / 0.9833 GB, free: 23.56 MB / 0.6198 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 6.226e-05/0.2528, allocations: 115.5 kB / 0.9834 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.464e-05/0.2528, allocations: 0 / 0.9834 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.106e-05/0.2528, allocations: 11.89 kB / 0.9834 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.2529, allocations: 4 kB / 0.9834 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.2529, allocations: 0 / 0.9834 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.2529, allocations: 0 / 0.9834 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000129/0.253, allocations: 177.5 kB / 0.9836 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.253, allocations: 0 / 0.9836 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001001/0.2531, allocations: 27.92 kB / 0.9836 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.2531, allocations: 3.984 kB / 0.9836 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.2531, allocations: 0 / 0.9836 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.2532, allocations: 0 / 0.9836 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2532, allocations: 0 / 0.9836 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003585/0.2535, allocations: 215.4 kB / 0.9838 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.045e-05/0.2536, allocations: 85.11 kB / 0.9839 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.829e-05/0.2536, allocations: 0 / 0.9839 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.2537, allocations: 23.91 kB / 0.9839 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.832e-05/0.2538, allocations: 0 / 0.9839 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.2538, allocations: 0 / 0.9839 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.781e-05/0.2538, allocations: 91.27 kB / 0.984 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.31e-07/0.2538, allocations: 0 / 0.984 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002255/0.2541, allocations: 11.91 kB / 0.984 GB, free: 22.72 MB / 0.6198 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.0007093/0.2548, allocations: 0.7553 MB / 0.9847 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00035/0.2551, allocations: 91.86 kB / 0.9848 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.2552, allocations: 0 / 0.9848 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001541/0.2553, allocations: 55.91 kB / 0.9849 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003289/0.2556, allocations: 11.12 kB / 0.9849 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004999/0.2562, allocations: 154.4 kB / 0.985 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001711/0.2563, allocations: 0.6848 MB / 0.9857 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.035e-05/0.2564, allocations: 3.984 kB / 0.9857 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.071e-05/0.2565, allocations: 11.44 kB / 0.9857 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of SimCode: time 4.61e-07/0.2565, allocations: 0 / 0.9857 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0135/0.27, allocations: 1.346 MB / 0.987 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001739/0.2702, allocations: 215.7 kB / 0.9872 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.523/1.793, allocations: 0 / 0.9872 GB, free: 19.43 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe 2>&1)