Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Gain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009197/0.0009197, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004625/0.004625, allocations: 169.6 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.269/1.269, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.619/1.619, allocations: 292.7 MB / 0.5502 GB, free: 14.45 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004826/0.0004826, allocations: 17.88 kB / 0.6744 GB, free: 25.7 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1652/0.1657, allocations: 116.3 MB / 0.788 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain): time 0.0007308/0.1665, allocations: 414.6 kB / 0.7884 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007222/0.1672, allocations: 0.7893 MB / 0.7892 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.342e-05/0.1673, allocations: 0 / 0.7892 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.381e-05/0.1673, allocations: 0 / 0.7892 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.09e-05/0.1674, allocations: 7.922 kB / 0.7892 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 4.281e-05/0.1674, allocations: 8 kB / 0.7892 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.348e-05/0.1675, allocations: 27.86 kB / 0.7892 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.489e-05/0.1675, allocations: 4 kB / 0.7892 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.838e-05/0.1676, allocations: 7.984 kB / 0.7892 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.06e-05/0.1676, allocations: 7.938 kB / 0.7892 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.37e-05/0.1677, allocations: 8 kB / 0.7892 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.26e-06/0.1677, allocations: 0 / 0.7892 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.328e-05/0.1677, allocations: 3.984 kB / 0.7892 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.126e-05/0.1677, allocations: 37.64 kB / 0.7893 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 5.171e-05/0.1678, allocations: 15.91 kB / 0.7893 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1678, allocations: 3.984 kB / 0.7893 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.323e-06/0.1678, allocations: 0 / 0.7893 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.1678, allocations: 0 / 0.7893 GB, free: 10.09 MB / 0.6075 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.0003715/0.1682, allocations: 343.7 kB / 0.7896 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.1682, allocations: 16.02 kB / 0.7896 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.771e-05/0.1682, allocations: 30.75 kB / 0.7897 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.708e-05/0.1683, allocations: 0.9375 kB / 0.7897 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.487e-05/0.1684, allocations: 168.3 kB / 0.7898 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.704e-06/0.1684, allocations: 8.375 kB / 0.7898 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.885e-06/0.1684, allocations: 384 / 0.7898 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.1686, allocations: 62.17 kB / 0.7899 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.1686, allocations: 7.922 kB / 0.7899 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.1686, allocations: 4 kB / 0.7899 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.626e-06/0.1686, allocations: 0 / 0.7899 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001813/0.1688, allocations: 43.95 kB / 0.79 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002748/0.1691, allocations: 253 kB / 0.7902 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001205/0.1692, allocations: 42.5 kB / 0.7902 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.526e-05/0.1693, allocations: 40.83 kB / 0.7903 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.335e-06/0.1693, allocations: 0 / 0.7903 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.671e-05/0.1693, allocations: 30.56 kB / 0.7903 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.1693, allocations: 0 / 0.7903 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003393/0.1697, allocations: 101.6 kB / 0.7904 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.694e-05/0.1697, allocations: 51.41 kB / 0.7905 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.465e-05/0.1698, allocations: 97.86 kB / 0.7905 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.1698, allocations: 29.7 kB / 0.7906 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.273e-05/0.1699, allocations: 80.14 kB / 0.7907 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.596e-05/0.1699, allocations: 12.02 kB / 0.7907 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.105e-05/0.1699, allocations: 13.66 kB / 0.7907 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.895e-05/0.17, allocations: 322.8 kB / 0.791 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.419e-05/0.1701, allocations: 19.92 kB / 0.791 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.475e-05/0.1702, allocations: 23.98 kB / 0.791 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.1703, allocations: 52.88 kB / 0.7911 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.1703, allocations: 3.938 kB / 0.7911 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001885/0.1705, allocations: 73.67 kB / 0.7911 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.1705, allocations: 4 kB / 0.7912 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1706, allocations: 3.984 kB / 0.7912 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.075e-06/0.1706, allocations: 4 kB / 0.7912 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.771e-05/0.1707, allocations: 8 kB / 0.7912 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.1707, allocations: 0 / 0.7912 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.101e-05/0.1707, allocations: 12.02 kB / 0.7912 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.1707, allocations: 7.938 kB / 0.7912 GB, free: 7.922 MB / 0.6075 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 5.773e-05/0.1708, allocations: 117.7 kB / 0.7913 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.239e-05/0.1708, allocations: 3.906 kB / 0.7913 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.81e-05/0.1708, allocations: 7.125 kB / 0.7913 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.1709, allocations: 0 / 0.7913 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1709, allocations: 3.984 kB / 0.7913 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.653e-06/0.1709, allocations: 0 / 0.7913 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001331/0.171, allocations: 161.6 kB / 0.7915 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.171, allocations: 0 / 0.7915 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.813e-05/0.1711, allocations: 15.98 kB / 0.7915 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1711, allocations: 0 / 0.7915 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.1711, allocations: 4 kB / 0.7915 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.031e-06/0.1711, allocations: 0 / 0.7915 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1711, allocations: 0 / 0.7915 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002194/0.1713, allocations: 171.5 kB / 0.7917 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.733e-05/0.1714, allocations: 77.11 kB / 0.7917 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.159e-05/0.1714, allocations: 4 kB / 0.7917 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.513e-05/0.1715, allocations: 16.2 kB / 0.7917 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.69e-05/0.1715, allocations: 4 kB / 0.7917 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.1715, allocations: 8 kB / 0.7918 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.548e-05/0.1715, allocations: 83.27 kB / 0.7918 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1715, allocations: 0 / 0.7918 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002/0.1718, allocations: 4 kB / 0.7918 GB, free: 7.156 MB / 0.6075 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.000478/0.1722, allocations: 0.7084 MB / 0.7925 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001941/0.1724, allocations: 55.88 kB / 0.7926 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1725, allocations: 4 kB / 0.7926 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.455e-05/0.1725, allocations: 19.98 kB / 0.7926 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000257/0.1728, allocations: 14.17 kB / 0.7926 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003419/0.1732, allocations: 142.7 kB / 0.7928 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002056/0.1734, allocations: 0.6731 MB / 0.7934 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.022e-05/0.1734, allocations: 0 / 0.7934 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.026e-05/0.1734, allocations: 11.42 kB / 0.7934 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of SimCode: time 3.41e-07/0.1734, allocations: 0 / 0.7934 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.348/0.5214, allocations: 1.031 MB / 0.7944 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002068/0.5216, allocations: 209.6 kB / 0.7946 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.538/2.06, allocations: 0 / 0.7946 GB, free: 4.277 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Gain_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Gain.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe 2>&1)