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.484/1.484, allocations: 252 MB / 267 MB, free: 10.96 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.001046/0.001046, allocations: 183.1 kB / 326.6 MB, free: 2.219 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.973/1.973, allocations: 205.4 MB / 0.5776 GB, free: 20.57 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.0007907/0.0007907, allocations: 89.83 kB / 0.6822 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003667/0.0003668, allocations: 14.84 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2514/0.2518, allocations: 106.4 MB / 0.9003 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain): time 0.001678/0.2535, allocations: 1.097 MB / 0.9014 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003263/0.2539, allocations: 101.9 kB / 0.9015 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.684e-05/0.2539, allocations: 0 / 0.9015 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.61e-05/0.2539, allocations: 0 / 0.9015 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.714e-05/0.254, allocations: 3.938 kB / 0.9015 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 6.275e-05/0.2541, allocations: 7.984 kB / 0.9015 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.48e-05/0.2542, allocations: 19.94 kB / 0.9015 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.2543, allocations: 7.984 kB / 0.9015 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.765e-05/0.2543, allocations: 8 kB / 0.9015 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.691e-05/0.2544, allocations: 11.92 kB / 0.9016 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.2544, allocations: 0 / 0.9016 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.935e-06/0.2544, allocations: 0 / 0.9016 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.129e-05/0.2544, allocations: 4 kB / 0.9016 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.469e-05/0.2545, allocations: 29.7 kB / 0.9016 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.589e-05/0.2545, allocations: 15.91 kB / 0.9016 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.2546, allocations: 0 / 0.9016 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.384e-06/0.2546, allocations: 0 / 0.9016 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.2546, allocations: 0 / 0.9016 GB, free: 62.86 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.0004243/0.255, allocations: 339.4 kB / 0.9019 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.2551, allocations: 12.03 kB / 0.9019 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.572e-05/0.2551, allocations: 34.55 kB / 0.902 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.456e-05/0.2551, allocations: 7.844 kB / 0.902 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.2553, allocations: 175.2 kB / 0.9021 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.2553, allocations: 0 / 0.9021 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.187e-06/0.2553, allocations: 0 / 0.9021 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.2555, allocations: 57.67 kB / 0.9022 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.2555, allocations: 0 / 0.9022 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.2555, allocations: 0 / 0.9022 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.2555, allocations: 7.984 kB / 0.9022 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001655/0.2557, allocations: 47.91 kB / 0.9023 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000313/0.256, allocations: 256.9 kB / 0.9025 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001225/0.2561, allocations: 38.56 kB / 0.9025 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.643e-05/0.2562, allocations: 28.91 kB / 0.9026 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.211e-05/0.2563, allocations: 3.984 kB / 0.9026 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.2563, allocations: 34.56 kB / 0.9026 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.302e-06/0.2563, allocations: 0 / 0.9026 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003505/0.2567, allocations: 97.59 kB / 0.9027 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.2567, allocations: 55.39 kB / 0.9027 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.978e-05/0.2568, allocations: 101.8 kB / 0.9028 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.618e-06/0.2568, allocations: 29.7 kB / 0.9029 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.624e-05/0.2568, allocations: 88.27 kB / 0.903 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.911e-05/0.2569, allocations: 7.891 kB / 0.903 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-06/0.2569, allocations: 0 / 0.903 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.242e-05/0.2569, allocations: 310.8 kB / 0.9033 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.275e-05/0.257, allocations: 23.98 kB / 0.9033 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.206e-05/0.2571, allocations: 23.98 kB / 0.9033 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.483e-05/0.2572, allocations: 19.98 kB / 0.9033 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.2572, allocations: 0 / 0.9033 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001845/0.2574, allocations: 85.56 kB / 0.9034 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.2574, allocations: 8 kB / 0.9034 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.2575, allocations: 0 / 0.9034 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.2575, allocations: 0 / 0.9034 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.473e-05/0.2576, allocations: 11.98 kB / 0.9034 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.2576, allocations: 3.984 kB / 0.9034 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.111e-05/0.2576, allocations: 16.02 kB / 0.9034 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-06/0.2577, allocations: 3.953 kB / 0.9035 GB, free: 60.75 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.925e-05/0.2577, allocations: 117.8 kB / 0.9036 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.443e-05/0.2578, allocations: 4 kB / 0.9036 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.009e-05/0.2578, allocations: 3.125 kB / 0.9036 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.2578, allocations: 0 / 0.9036 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.2578, allocations: 0 / 0.9036 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.2578, allocations: 0 / 0.9036 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001221/0.2579, allocations: 161.9 kB / 0.9037 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.258, allocations: 8 kB / 0.9037 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.06e-05/0.258, allocations: 19.98 kB / 0.9038 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.258, allocations: 0 / 0.9038 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.258, allocations: 0 / 0.9038 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.258, allocations: 0 / 0.9038 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2581, allocations: 3.938 kB / 0.9038 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002103/0.2583, allocations: 171.5 kB / 0.9039 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.261e-05/0.2583, allocations: 85.02 kB / 0.904 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.2583, allocations: 0 / 0.904 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.508e-05/0.2584, allocations: 11.94 kB / 0.904 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.428e-05/0.2585, allocations: 7.984 kB / 0.904 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.2585, allocations: 4.031 kB / 0.904 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.898e-05/0.2585, allocations: 79.28 kB / 0.9041 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.11e-07/0.2585, allocations: 0 / 0.9041 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002063/0.2587, allocations: 4 kB / 0.9041 GB, free: 59.98 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.0004752/0.2592, allocations: 0.7085 MB / 0.9048 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002071/0.2594, allocations: 55.98 kB / 0.9048 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2594, allocations: 0 / 0.9048 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.037e-05/0.2595, allocations: 19.98 kB / 0.9049 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00028/0.2598, allocations: 4 kB / 0.9049 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003842/0.2602, allocations: 150.4 kB / 0.905 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001351/0.2603, allocations: 0.677 MB / 0.9057 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.89e-05/0.2604, allocations: 0 / 0.9057 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.957e-05/0.2604, allocations: 7.438 kB / 0.9057 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of SimCode: time 4.51e-07/0.2604, allocations: 0 / 0.9057 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0128/0.2732, allocations: 1.04 MB / 0.9067 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004117/0.2738, allocations: 197.4 kB / 0.9069 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.592/1.866, allocations: 4 kB / 0.9069 GB, free: 57.14 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)