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.001226/0.001226, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.179/1.179, allocations: 205.1 MB / 222.4 MB, free: 4.574 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.507/1.507, allocations: 292.3 MB / 0.5489 GB, free: 12.8 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.001377/0.001378, allocations: 71.22 kB / 0.6716 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.1721, allocations: 114.5 MB / 0.7835 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain): time 0.001795/0.1739, allocations: 0.6635 MB / 0.7841 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007181/0.1746, allocations: 0.7893 MB / 0.7849 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.663e-05/0.1747, allocations: 0 / 0.7849 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.36e-05/0.1747, allocations: 3.938 kB / 0.7849 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.202e-05/0.1748, allocations: 4 kB / 0.7849 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 4.63e-05/0.1748, allocations: 7.984 kB / 0.7849 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.735e-05/0.1749, allocations: 31.86 kB / 0.785 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.749e-05/0.175, allocations: 4 kB / 0.785 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.446e-05/0.175, allocations: 7.984 kB / 0.785 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.876e-05/0.1751, allocations: 11.94 kB / 0.785 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.451e-05/0.1751, allocations: 7.938 kB / 0.785 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.971e-06/0.1751, allocations: 0 / 0.785 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.226e-05/0.1751, allocations: 3.984 kB / 0.785 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.628e-05/0.1751, allocations: 19.92 kB / 0.785 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 5.504e-05/0.1752, allocations: 19.91 kB / 0.785 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.1752, allocations: 4 kB / 0.785 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.405e-06/0.1752, allocations: 0 / 0.785 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.948e-06/0.1752, allocations: 3.938 kB / 0.785 GB, free: 11.72 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.0003613/0.1756, allocations: 339.7 kB / 0.7854 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.1756, allocations: 8.031 kB / 0.7854 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.122e-05/0.1757, allocations: 34.75 kB / 0.7854 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.861e-05/0.1757, allocations: 8.922 kB / 0.7854 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.888e-05/0.1758, allocations: 172.3 kB / 0.7856 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.376e-06/0.1758, allocations: 384 / 0.7856 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.913e-06/0.1758, allocations: 4.375 kB / 0.7856 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.176, allocations: 50.23 kB / 0.7856 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.124e-06/0.176, allocations: 3.938 kB / 0.7856 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.321e-06/0.176, allocations: 0 / 0.7856 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.176, allocations: 0 / 0.7856 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001475/0.1761, allocations: 39.91 kB / 0.7857 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002592/0.1764, allocations: 245 kB / 0.7859 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/0.1765, allocations: 42.48 kB / 0.7859 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.061e-05/0.1766, allocations: 24.91 kB / 0.786 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.805e-06/0.1766, allocations: 4 kB / 0.786 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.1767, allocations: 34.55 kB / 0.786 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.1767, allocations: 0 / 0.786 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002975/0.177, allocations: 81.59 kB / 0.7861 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.56e-05/0.177, allocations: 51.41 kB / 0.7861 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.194e-05/0.1771, allocations: 102 kB / 0.7862 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.037e-06/0.1771, allocations: 33.7 kB / 0.7863 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.067e-05/0.1771, allocations: 80.14 kB / 0.7863 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.475e-05/0.1771, allocations: 7.906 kB / 0.7863 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.67e-05/0.1772, allocations: 21.64 kB / 0.7864 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.358e-05/0.1773, allocations: 310.8 kB / 0.7867 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.57e-05/0.1773, allocations: 15.98 kB / 0.7867 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.66e-05/0.1774, allocations: 19.98 kB / 0.7867 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/0.1776, allocations: 40.81 kB / 0.7867 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.1776, allocations: 7.875 kB / 0.7867 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001682/0.1777, allocations: 61.67 kB / 0.7868 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.1778, allocations: 4 kB / 0.7868 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.1778, allocations: 4 kB / 0.7868 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.1778, allocations: 8.078 kB / 0.7868 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.185e-05/0.1779, allocations: 7.938 kB / 0.7868 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.1779, allocations: 3.984 kB / 0.7868 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.419e-05/0.1779, allocations: 11.89 kB / 0.7868 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.386e-06/0.1779, allocations: 0 / 0.7868 GB, free: 9.637 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.871e-05/0.178, allocations: 121.7 kB / 0.787 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.066e-05/0.178, allocations: 0 / 0.787 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.581e-05/0.178, allocations: 3.125 kB / 0.787 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.178, allocations: 8 kB / 0.787 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.178, allocations: 0 / 0.787 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.1781, allocations: 3.984 kB / 0.787 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001234/0.1782, allocations: 157.6 kB / 0.7871 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.1782, allocations: 0 / 0.7871 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.595e-05/0.1782, allocations: 12.23 kB / 0.7871 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.1783, allocations: 3.938 kB / 0.7871 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.1783, allocations: 4 kB / 0.7871 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.1783, allocations: 0 / 0.7871 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1783, allocations: 0 / 0.7871 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001968/0.1785, allocations: 167.5 kB / 0.7873 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.509e-05/0.1785, allocations: 77.11 kB / 0.7874 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.989e-06/0.1785, allocations: 0 / 0.7874 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.858e-05/0.1786, allocations: 7.984 kB / 0.7874 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.396e-05/0.1786, allocations: 4 kB / 0.7874 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.1786, allocations: 32 / 0.7874 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.341e-05/0.1787, allocations: 87.28 kB / 0.7875 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.1787, allocations: 0 / 0.7875 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000199/0.1789, allocations: 7.906 kB / 0.7875 GB, free: 8.887 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.0004159/0.1793, allocations: 0.7084 MB / 0.7882 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001726/0.1795, allocations: 31.97 kB / 0.7882 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1795, allocations: 0 / 0.7882 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.588e-05/0.1796, allocations: 19.98 kB / 0.7882 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002303/0.1798, allocations: 7.922 kB / 0.7882 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003238/0.1801, allocations: 143.3 kB / 0.7884 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001882/0.1803, allocations: 0.6768 MB / 0.789 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.802e-05/0.1804, allocations: 0 / 0.789 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.728e-05/0.1804, allocations: 11.44 kB / 0.789 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.1804, allocations: 0 / 0.789 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9677/1.148, allocations: 1.262 MB / 0.7903 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/12.41, allocations: 10.97 kB / 0.7903 GB, free: 5.996 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)