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.358/1.358, allocations: 252 MB / 267.3 MB, free: 10.82 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.001012/0.001012, allocations: 177.4 kB / 327 MB, free: 2.098 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.808/1.808, allocations: 205.4 MB / 0.578 GB, free: 20.09 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.0008215/0.0008219, allocations: 91.12 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003531/0.0003533, allocations: 13.59 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2351/0.2355, allocations: 106.3 MB / 0.9009 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain): time 0.001561/0.2371, allocations: 1.11 MB / 0.902 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002971/0.2374, allocations: 104.5 kB / 0.9021 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.218e-05/0.2375, allocations: 0 / 0.9021 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.806e-05/0.2375, allocations: 0 / 0.9021 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.923e-05/0.2376, allocations: 0 / 0.9021 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 5.816e-05/0.2377, allocations: 8 kB / 0.9021 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.619e-05/0.2377, allocations: 19.92 kB / 0.9021 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.2378, allocations: 12 kB / 0.9022 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.676e-05/0.2379, allocations: 11.92 kB / 0.9022 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.344e-05/0.2379, allocations: 11.92 kB / 0.9022 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.238, allocations: 4 kB / 0.9022 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.003e-06/0.238, allocations: 0 / 0.9022 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.431e-05/0.238, allocations: 0 / 0.9022 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.489e-05/0.238, allocations: 33.58 kB / 0.9022 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.174e-05/0.2381, allocations: 23.94 kB / 0.9022 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2381, allocations: 4 kB / 0.9022 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.324e-06/0.2381, allocations: 0 / 0.9022 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.2382, allocations: 3.938 kB / 0.9022 GB, free: 62.02 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.0003752/0.2385, allocations: 339.6 kB / 0.9026 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.2386, allocations: 8.031 kB / 0.9026 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.383e-05/0.2386, allocations: 34.75 kB / 0.9026 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.451e-05/0.2387, allocations: 4.844 kB / 0.9026 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.385e-05/0.2387, allocations: 164.6 kB / 0.9028 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.2388, allocations: 8.359 kB / 0.9028 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.528e-06/0.2388, allocations: 4.375 kB / 0.9028 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001677/0.239, allocations: 54.23 kB / 0.9028 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.239, allocations: 3.938 kB / 0.9028 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.805e-06/0.239, allocations: 0 / 0.9028 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.239, allocations: 0 / 0.9028 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001618/0.2392, allocations: 51.89 kB / 0.9029 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003175/0.2395, allocations: 249 kB / 0.9031 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.2396, allocations: 50.48 kB / 0.9032 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.725e-05/0.2397, allocations: 24.91 kB / 0.9032 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.009e-05/0.2398, allocations: 0 / 0.9032 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.442e-05/0.2398, allocations: 30.56 kB / 0.9032 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.2398, allocations: 0 / 0.9032 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003527/0.2401, allocations: 105.6 kB / 0.9033 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.743e-05/0.2402, allocations: 51.41 kB / 0.9034 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.792e-05/0.2403, allocations: 101.8 kB / 0.9035 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.646e-06/0.2403, allocations: 29.83 kB / 0.9035 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.037e-05/0.2403, allocations: 92.05 kB / 0.9036 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.782e-05/0.2403, allocations: 0 / 0.9036 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-06/0.2403, allocations: 3.938 kB / 0.9036 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.13e-05/0.2404, allocations: 314.8 kB / 0.9039 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.202e-05/0.2405, allocations: 23.98 kB / 0.9039 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.264e-05/0.2406, allocations: 23.97 kB / 0.9039 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.2407, allocations: 56.77 kB / 0.904 GB, free: 60 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.2408, allocations: 8 kB / 0.904 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001851/0.241, allocations: 77.56 kB / 0.9041 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.241, allocations: 4 kB / 0.9041 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.241, allocations: 3.984 kB / 0.9041 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.241, allocations: 0 / 0.9041 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.2411, allocations: 19.95 kB / 0.9041 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.2411, allocations: 4 kB / 0.9041 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.903e-05/0.2412, allocations: 4 kB / 0.9041 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-06/0.2412, allocations: 0 / 0.9041 GB, free: 59.88 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.049e-05/0.2413, allocations: 113.8 kB / 0.9042 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.582e-05/0.2413, allocations: 4 kB / 0.9042 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.542e-05/0.2414, allocations: 7.109 kB / 0.9042 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.2414, allocations: 4 kB / 0.9042 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/0.2414, allocations: 4 kB / 0.9042 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.2414, allocations: 0 / 0.9042 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001443/0.2416, allocations: 157.6 kB / 0.9044 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.2416, allocations: 256 / 0.9044 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.988e-05/0.2416, allocations: 19.92 kB / 0.9044 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.2416, allocations: 0 / 0.9044 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.595e-06/0.2417, allocations: 0 / 0.9044 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2417, allocations: 0 / 0.9044 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.2417, allocations: 4 kB / 0.9044 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002129/0.2419, allocations: 175.5 kB / 0.9046 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.247e-05/0.2419, allocations: 81.02 kB / 0.9047 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.2419, allocations: 4.031 kB / 0.9047 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.283e-05/0.242, allocations: 11.98 kB / 0.9047 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.344e-05/0.2421, allocations: 0 / 0.9047 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-06/0.2421, allocations: 0 / 0.9047 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.218e-05/0.2421, allocations: 87.27 kB / 0.9048 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2421, allocations: 0 / 0.9048 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002034/0.2423, allocations: 4 kB / 0.9048 GB, free: 59.12 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004627/0.2428, allocations: 0.7124 MB / 0.9055 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001993/0.243, allocations: 44 kB / 0.9055 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.243, allocations: 0 / 0.9055 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.05e-05/0.2431, allocations: 31.97 kB / 0.9055 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003135/0.2434, allocations: 13.2 kB / 0.9055 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004177/0.2439, allocations: 142.3 kB / 0.9057 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001542/0.244, allocations: 0.6848 MB / 0.9063 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.519e-05/0.2441, allocations: 0 / 0.9063 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.614e-05/0.2441, allocations: 11.44 kB / 0.9064 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of SimCode: time 4.7e-07/0.2441, allocations: 0 / 0.9064 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01219/0.2563, allocations: 1.036 MB / 0.9074 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001618/0.2565, allocations: 218 kB / 0.9076 GB, free: 56.24 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.653/1.91, allocations: 3.938 kB / 0.9076 GB, free: 56.24 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)