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.364/1.364, allocations: 252 MB / 267 MB, free: 10.98 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.001084/0.001084, allocations: 183 kB / 326.6 MB, free: 2.23 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.764/1.764, allocations: 205.4 MB / 0.5777 GB, free: 20.5 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.001067/0.001067, allocations: 96.23 kB / 0.6823 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003737/0.0003738, allocations: 12.69 kB / 0.7965 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2472/0.2476, allocations: 106.4 MB / 0.9003 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo): time 0.001541/0.2492, allocations: 1.132 MB / 0.9014 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003731/0.2496, allocations: 177.6 kB / 0.9016 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.394e-05/0.2497, allocations: 0 / 0.9016 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.095e-05/0.2497, allocations: 3.938 kB / 0.9016 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.768e-05/0.2498, allocations: 11.92 kB / 0.9016 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001736/0.25, allocations: 12 kB / 0.9016 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001011/0.2501, allocations: 35.91 kB / 0.9017 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.138e-05/0.2502, allocations: 8 kB / 0.9017 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.121e-05/0.2503, allocations: 19.92 kB / 0.9017 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.429e-05/0.2504, allocations: 19.91 kB / 0.9017 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.902e-05/0.2504, allocations: 3.938 kB / 0.9017 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.217e-05/0.2504, allocations: 4 kB / 0.9017 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.387e-05/0.2504, allocations: 7.922 kB / 0.9017 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.433e-05/0.2505, allocations: 33.7 kB / 0.9018 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.703e-05/0.2505, allocations: 23.94 kB / 0.9018 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.2505, allocations: 3.938 kB / 0.9018 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.234e-06/0.2505, allocations: 0 / 0.9018 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.2506, allocations: 0 / 0.9018 GB, free: 62.8 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.0004856/0.251, allocations: 371.5 kB / 0.9021 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.2511, allocations: 8.031 kB / 0.9022 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.685e-05/0.2511, allocations: 42.55 kB / 0.9022 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.927e-05/0.2512, allocations: 0 / 0.9022 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.686e-05/0.2513, allocations: 170.9 kB / 0.9024 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.2513, allocations: 4 kB / 0.9024 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.53e-05/0.2513, allocations: 7.938 kB / 0.9024 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002649/0.2516, allocations: 73.66 kB / 0.9024 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.2516, allocations: 0 / 0.9024 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.2516, allocations: 0 / 0.9024 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.2516, allocations: 8 kB / 0.9024 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003025/0.252, allocations: 83.92 kB / 0.9025 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000324/0.2523, allocations: 272.9 kB / 0.9028 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002115/0.2525, allocations: 74.47 kB / 0.9029 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001507/0.2527, allocations: 44.92 kB / 0.9029 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.2527, allocations: 0 / 0.9029 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.848e-05/0.2527, allocations: 34.56 kB / 0.9029 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.2527, allocations: 0 / 0.9029 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0005562/0.2533, allocations: 161.6 kB / 0.9031 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.867e-05/0.2533, allocations: 55.34 kB / 0.9031 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.155e-05/0.2534, allocations: 113.8 kB / 0.9032 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.022e-05/0.2534, allocations: 29.7 kB / 0.9033 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.745e-05/0.2535, allocations: 95.98 kB / 0.9034 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.514e-05/0.2535, allocations: 7.891 kB / 0.9034 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-06/0.2535, allocations: 4 kB / 0.9034 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.235e-05/0.2536, allocations: 314.8 kB / 0.9037 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001518/0.2537, allocations: 43.95 kB / 0.9037 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001353/0.2539, allocations: 39.97 kB / 0.9038 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001433/0.254, allocations: 47.91 kB / 0.9038 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.254, allocations: 0 / 0.9038 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003354/0.2544, allocations: 121.6 kB / 0.9039 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.2544, allocations: 4 kB / 0.9039 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.2544, allocations: 0 / 0.9039 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.2544, allocations: 0 / 0.9039 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/0.2546, allocations: 27.92 kB / 0.904 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.2546, allocations: 0 / 0.904 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.526e-05/0.2547, allocations: 19.94 kB / 0.904 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/0.2547, allocations: 0 / 0.904 GB, free: 60.34 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 6.283e-05/0.2548, allocations: 117.8 kB / 0.9041 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.546e-05/0.2548, allocations: 7.844 kB / 0.9041 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.302e-05/0.2548, allocations: 11.91 kB / 0.9041 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.2548, allocations: 4 kB / 0.9041 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.2548, allocations: 0 / 0.9041 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.2549, allocations: 0 / 0.9041 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001327/0.255, allocations: 165.6 kB / 0.9043 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.255, allocations: 0 / 0.9043 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000103/0.2551, allocations: 27.97 kB / 0.9043 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.2551, allocations: 0 / 0.9043 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-06/0.2551, allocations: 4 kB / 0.9043 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.2551, allocations: 4 kB / 0.9043 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.2551, allocations: 0 / 0.9043 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003496/0.2555, allocations: 219.4 kB / 0.9045 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.054e-05/0.2555, allocations: 85 kB / 0.9046 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.2556, allocations: 0 / 0.9046 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.2557, allocations: 20.36 kB / 0.9046 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.025e-05/0.2557, allocations: 11.98 kB / 0.9046 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.2557, allocations: 0 / 0.9046 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.125e-05/0.2558, allocations: 83.59 kB / 0.9047 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2558, allocations: 0 / 0.9047 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001996/0.256, allocations: 8 kB / 0.9047 GB, free: 59.48 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.0005914/0.2566, allocations: 0.7514 MB / 0.9054 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003325/0.2569, allocations: 95.86 kB / 0.9055 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.2569, allocations: 4 kB / 0.9055 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001492/0.2571, allocations: 43.95 kB / 0.9056 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002787/0.2574, allocations: 11.94 kB / 0.9056 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004058/0.2578, allocations: 170.1 kB / 0.9058 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001258/0.2579, allocations: 0.6809 MB / 0.9064 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.308e-05/0.258, allocations: 0 / 0.9064 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.274e-05/0.258, allocations: 15.44 kB / 0.9064 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of SimCode: time 1.9e-07/0.258, allocations: 0 / 0.9064 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01148/0.2695, allocations: 1.341 MB / 0.9077 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001808/0.2698, allocations: 199.4 kB / 0.9079 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.594/1.864, allocations: 0 / 0.9079 GB, free: 56.21 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)