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.462/1.462, 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.001133/0.001133, allocations: 188.9 kB / 326.5 MB, free: 2.25 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.737/1.737, allocations: 205.4 MB / 0.5775 GB, free: 20.32 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.0009094/0.0009094, allocations: 93.81 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003701/0.0003702, allocations: 11.91 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2462/0.2466, allocations: 106.3 MB / 0.9002 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo): time 0.001444/0.2481, allocations: 1.128 MB / 0.9013 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003388/0.2484, allocations: 181.7 kB / 0.9014 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.422e-05/0.2485, allocations: 0 / 0.9014 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.609e-05/0.2485, allocations: 3.938 kB / 0.9015 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.7e-05/0.2486, allocations: 15.94 kB / 0.9015 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001509/0.2487, allocations: 7.984 kB / 0.9015 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.175e-05/0.2488, allocations: 31.89 kB / 0.9015 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.987e-05/0.2489, allocations: 4 kB / 0.9015 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.305e-05/0.249, allocations: 15.98 kB / 0.9015 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.119e-05/0.249, allocations: 15.92 kB / 0.9015 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.249, allocations: 4 kB / 0.9015 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.087e-05/0.2491, allocations: 0 / 0.9015 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.209e-05/0.2491, allocations: 15.86 kB / 0.9016 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.36e-05/0.2491, allocations: 33.7 kB / 0.9016 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.793e-05/0.2492, allocations: 23.94 kB / 0.9016 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.2492, allocations: 0 / 0.9016 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.134e-06/0.2492, allocations: 0 / 0.9016 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.825e-06/0.2492, allocations: 0 / 0.9016 GB, free: 62.37 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.0005642/0.2498, allocations: 367.5 kB / 0.902 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/0.2498, allocations: 8.031 kB / 0.902 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.006e-05/0.2499, allocations: 38.55 kB / 0.902 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.956e-05/0.2499, allocations: 0 / 0.902 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/0.2501, allocations: 178.9 kB / 0.9022 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.2501, allocations: 0 / 0.9022 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.343e-05/0.2501, allocations: 4 kB / 0.9022 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002973/0.2504, allocations: 77.66 kB / 0.9023 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.2504, allocations: 0 / 0.9023 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.2504, allocations: 0 / 0.9023 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.2505, allocations: 7.984 kB / 0.9023 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002969/0.2508, allocations: 79.94 kB / 0.9023 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004015/0.2512, allocations: 268.9 kB / 0.9026 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002083/0.2514, allocations: 74.47 kB / 0.9027 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.836e-05/0.2514, allocations: 0 / 0.9027 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/0.2515, allocations: 34.5 kB / 0.9027 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.2515, allocations: 4 kB / 0.9027 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0005837/0.2521, allocations: 161.7 kB / 0.9029 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.475e-05/0.2521, allocations: 55.34 kB / 0.9029 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.849e-05/0.2522, allocations: 109.8 kB / 0.903 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.2522, allocations: 29.7 kB / 0.903 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.42e-05/0.2523, allocations: 95.98 kB / 0.9031 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.928e-05/0.2523, allocations: 7.906 kB / 0.9031 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.169e-06/0.2523, allocations: 0 / 0.9031 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.974e-05/0.2524, allocations: 318.8 kB / 0.9034 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.2525, allocations: 39.97 kB / 0.9035 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001327/0.2527, allocations: 43.95 kB / 0.9035 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001434/0.2528, allocations: 43.97 kB / 0.9036 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2528, allocations: 0 / 0.9036 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003023/0.2531, allocations: 117.9 kB / 0.9037 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.2532, allocations: 4 kB / 0.9037 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.2532, allocations: 0 / 0.9037 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.2532, allocations: 0 / 0.9037 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.2534, allocations: 27.91 kB / 0.9037 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.2534, allocations: 0 / 0.9037 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.801e-05/0.2535, allocations: 20.03 kB / 0.9037 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.2535, allocations: 11.88 kB / 0.9037 GB, free: 59.96 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 8.715e-05/0.2536, allocations: 117.8 kB / 0.9039 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.349e-05/0.2536, allocations: 3.906 kB / 0.9039 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.844e-05/0.2537, allocations: 11.91 kB / 0.9039 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.2537, allocations: 0 / 0.9039 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.2537, allocations: 7.984 kB / 0.9039 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.2537, allocations: 0 / 0.9039 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001377/0.2538, allocations: 165.6 kB / 0.904 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2538, allocations: 4 kB / 0.904 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.591e-05/0.2539, allocations: 23.98 kB / 0.9041 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.2539, allocations: 0 / 0.9041 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.254, allocations: 0 / 0.9041 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.254, allocations: 3.984 kB / 0.9041 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.254, allocations: 4 kB / 0.9041 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003586/0.2543, allocations: 219.4 kB / 0.9043 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.459e-05/0.2544, allocations: 84.95 kB / 0.9044 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.2544, allocations: 0 / 0.9044 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.2545, allocations: 19.98 kB / 0.9044 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.506e-05/0.2546, allocations: 7.984 kB / 0.9044 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.2546, allocations: 4 kB / 0.9044 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.324e-05/0.2546, allocations: 87.27 kB / 0.9045 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2546, allocations: 0 / 0.9045 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002023/0.2548, allocations: 8 kB / 0.9045 GB, free: 59.11 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.0005727/0.2554, allocations: 0.7476 MB / 0.9052 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003186/0.2557, allocations: 91.86 kB / 0.9053 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.2557, allocations: 4 kB / 0.9053 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001416/0.2559, allocations: 43.97 kB / 0.9053 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002234/0.2561, allocations: 8 kB / 0.9054 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004281/0.2566, allocations: 174 kB / 0.9055 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000137/0.2567, allocations: 0.6848 MB / 0.9062 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.144e-05/0.2567, allocations: 4 kB / 0.9062 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.249e-05/0.2568, allocations: 11.44 kB / 0.9062 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of SimCode: time 2.21e-07/0.2568, allocations: 0 / 0.9062 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01197/0.2688, allocations: 1.334 MB / 0.9075 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001521/0.269, allocations: 194.7 kB / 0.9077 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.731/2, allocations: 0 / 0.9077 GB, free: 55.84 MB / 0.6042 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)