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.Gain.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.Gain,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Gain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Gain",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.456/1.456, allocations: 251.9 MB / 266.9 MB, free: 11 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.001067/0.001067, allocations: 179.4 kB / 326.5 MB, free: 2.207 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.974/1.974, allocations: 205.4 MB / 0.5775 GB, free: 20.21 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.001015/0.001015, allocations: 106.3 kB / 0.6821 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003565/0.0003566, allocations: 12.47 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2567/0.2571, allocations: 106.3 MB / 0.9002 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain): time 0.001538/0.2587, allocations: 1.101 MB / 0.9012 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003137/0.259, allocations: 97.98 kB / 0.9013 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.546e-05/0.2591, allocations: 0 / 0.9013 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.827e-05/0.2591, allocations: 3.938 kB / 0.9013 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.416e-05/0.2592, allocations: 3.984 kB / 0.9013 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 5.536e-05/0.2592, allocations: 4 kB / 0.9014 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.997e-05/0.2593, allocations: 11.98 kB / 0.9014 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.2594, allocations: 8 kB / 0.9014 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.642e-05/0.2595, allocations: 7.984 kB / 0.9014 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.279e-05/0.2595, allocations: 15.92 kB / 0.9014 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.2595, allocations: 0 / 0.9014 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.633e-06/0.2596, allocations: 0 / 0.9014 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.096e-05/0.2596, allocations: 0 / 0.9014 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.906e-05/0.2596, allocations: 33.64 kB / 0.9014 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.222e-05/0.2597, allocations: 15.95 kB / 0.9014 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.2597, allocations: 4 kB / 0.9014 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.236e-06/0.2597, allocations: 0 / 0.9014 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.144e-06/0.2597, allocations: 0 / 0.9014 GB, free: 62.46 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004364/0.2602, allocations: 335.4 kB / 0.9018 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.505e-05/0.2602, allocations: 8.031 kB / 0.9018 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.626e-05/0.2603, allocations: 38.5 kB / 0.9018 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.585e-05/0.2603, allocations: 7.906 kB / 0.9018 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001095/0.2604, allocations: 167.2 kB / 0.902 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.2604, allocations: 0 / 0.902 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.536e-06/0.2604, allocations: 4 kB / 0.902 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001983/0.2607, allocations: 57.67 kB / 0.902 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.2607, allocations: 0 / 0.902 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.318e-06/0.2607, allocations: 0 / 0.902 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.2607, allocations: 0 / 0.902 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001732/0.2609, allocations: 51.89 kB / 0.9021 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003202/0.2612, allocations: 248.9 kB / 0.9023 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.2613, allocations: 42.55 kB / 0.9024 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.217e-05/0.2614, allocations: 4 kB / 0.9024 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.2614, allocations: 34.56 kB / 0.9024 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.373e-06/0.2614, allocations: 0 / 0.9024 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003359/0.2617, allocations: 101.7 kB / 0.9025 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.191e-05/0.2618, allocations: 51.41 kB / 0.9025 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.758e-05/0.2618, allocations: 101.8 kB / 0.9026 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.796e-06/0.2619, allocations: 25.7 kB / 0.9027 GB, free: 61 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.333e-05/0.2619, allocations: 92.12 kB / 0.9028 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.589e-05/0.2619, allocations: 3.906 kB / 0.9028 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.555e-06/0.2619, allocations: 0 / 0.9028 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.674e-05/0.262, allocations: 318.8 kB / 0.9031 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.801e-05/0.2621, allocations: 23.98 kB / 0.9031 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.634e-05/0.2622, allocations: 15.98 kB / 0.9031 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.021e-05/0.2622, allocations: 32.03 kB / 0.9031 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2623, allocations: 0 / 0.9031 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001752/0.2624, allocations: 77.52 kB / 0.9032 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.2625, allocations: 8 kB / 0.9032 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.2625, allocations: 4.031 kB / 0.9032 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.2625, allocations: 0 / 0.9032 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.453e-05/0.2626, allocations: 11.98 kB / 0.9032 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.2626, allocations: 0 / 0.9032 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.501e-05/0.2627, allocations: 7.984 kB / 0.9032 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.922e-06/0.2627, allocations: 4 kB / 0.9032 GB, free: 60.4 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 (2): * Single equations (assignments): 2 * 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.833e-05/0.2627, allocations: 121.7 kB / 0.9034 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.981e-05/0.2628, allocations: 0 / 0.9034 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.225e-05/0.2628, allocations: 7.125 kB / 0.9034 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.2628, allocations: 0 / 0.9034 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.2628, allocations: 0 / 0.9034 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.2628, allocations: 0 / 0.9034 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001263/0.263, allocations: 161.6 kB / 0.9035 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.263, allocations: 256 / 0.9035 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.667e-05/0.263, allocations: 19.98 kB / 0.9035 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.263, allocations: 7.984 kB / 0.9035 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.263, allocations: 4 kB / 0.9035 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.2631, allocations: 0 / 0.9035 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2631, allocations: 3.938 kB / 0.9036 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002059/0.2633, allocations: 171.5 kB / 0.9037 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.765e-05/0.2633, allocations: 85.02 kB / 0.9038 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.2633, allocations: 0 / 0.9038 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.015e-05/0.2634, allocations: 11.98 kB / 0.9038 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.734e-05/0.2634, allocations: 4 kB / 0.9038 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.484e-06/0.2635, allocations: 0 / 0.9038 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.432e-05/0.2635, allocations: 79.28 kB / 0.9039 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2635, allocations: 0 / 0.9039 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001956/0.2637, allocations: 8.031 kB / 0.9039 GB, free: 59.63 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 (2): * Single equations (assignments): 2 * 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.0004289/0.2641, allocations: 0.7183 MB / 0.9046 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001917/0.2643, allocations: 47.97 kB / 0.9046 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2643, allocations: 0 / 0.9046 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.554e-05/0.2644, allocations: 24.05 kB / 0.9047 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002389/0.2647, allocations: 2.062 kB / 0.9047 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003783/0.2651, allocations: 150.2 kB / 0.9048 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001281/0.2652, allocations: 0.6848 MB / 0.9055 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.389e-05/0.2652, allocations: 4.062 kB / 0.9055 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.222e-05/0.2653, allocations: 7.438 kB / 0.9055 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of SimCode: time 2.41e-07/0.2653, allocations: 0 / 0.9055 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01385/0.2791, allocations: 1.022 MB / 0.9065 GB, free: 57.03 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002049/0.2794, allocations: 190.7 kB / 0.9067 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.722/2.002, allocations: 0 / 0.9067 GB, free: 56.8 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Gain_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Gain.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe 2>&1)