Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.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.Sources.Validation.Pulse,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse",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.001007/0.001007, 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.0009337/0.0009337, allocations: 193 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.189/1.189, allocations: 205.1 MB / 222.4 MB, free: 4.57 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.536/1.536, 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.001415/0.001415, allocations: 72.7 kB / 0.6716 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1717/0.1731, allocations: 114.5 MB / 0.7835 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse): time 0.001806/0.1749, allocations: 0.748 MB / 0.7842 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001117/0.176, allocations: 1.121 MB / 0.7853 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.697e-05/0.1761, allocations: 0 / 0.7853 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.541e-05/0.1761, allocations: 7.938 kB / 0.7853 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.218e-05/0.1762, allocations: 15.84 kB / 0.7853 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003853/0.1766, allocations: 130.6 kB / 0.7855 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001316/0.1767, allocations: 127.8 kB / 0.7856 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.669e-05/0.1768, allocations: 8 kB / 0.7856 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.343e-05/0.1769, allocations: 51.89 kB / 0.7857 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.433e-05/0.177, allocations: 35.78 kB / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.368e-05/0.177, allocations: 12 kB / 0.7857 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.271e-05/0.1771, allocations: 27.98 kB / 0.7857 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.757e-05/0.1771, allocations: 11.98 kB / 0.7857 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.677e-05/0.1772, allocations: 43.84 kB / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001558/0.1773, allocations: 135.9 kB / 0.7859 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1773, allocations: 0 / 0.7859 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1773, allocations: 3.938 kB / 0.7859 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.1773, allocations: 0 / 0.7859 GB, free: 10.88 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003993/0.1777, allocations: 393 kB / 0.7863 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/0.1778, allocations: 12.03 kB / 0.7863 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.125e-05/0.1778, allocations: 30.75 kB / 0.7863 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.835e-05/0.1779, allocations: 8.844 kB / 0.7863 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.178, allocations: 184.2 kB / 0.7865 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.178, allocations: 4.375 kB / 0.7865 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.641e-05/0.178, allocations: 4.375 kB / 0.7865 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.653e-05/0.1781, allocations: 42.25 kB / 0.7866 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.1781, allocations: 3.938 kB / 0.7866 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.862e-06/0.1781, allocations: 0 / 0.7866 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.1781, allocations: 4 kB / 0.7866 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.662e-05/0.1782, allocations: 11.98 kB / 0.7866 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003522/0.1785, allocations: 336.7 kB / 0.7869 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.265e-05/0.1786, allocations: 35.56 kB / 0.7869 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.182e-05/0.1786, allocations: 12.92 kB / 0.7869 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 5.77e-06/0.1786, allocations: 0 / 0.7869 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001136/0.1788, allocations: 63.39 kB / 0.787 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.1788, allocations: 0 / 0.787 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0001698/0.1789, allocations: 81.53 kB / 0.7871 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.585e-05/0.179, allocations: 55.39 kB / 0.7871 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.501e-05/0.1791, allocations: 125.8 kB / 0.7873 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.184e-05/0.1791, allocations: 29.7 kB / 0.7873 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.903e-05/0.1792, allocations: 92.12 kB / 0.7874 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.323e-05/0.1792, allocations: 11.89 kB / 0.7874 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.083e-05/0.1793, allocations: 29.7 kB / 0.7874 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.424e-05/0.1793, allocations: 318.8 kB / 0.7877 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.32e-05/0.1794, allocations: 43.97 kB / 0.7878 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.046e-05/0.1795, allocations: 58.5 kB / 0.7878 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001058/0.1796, allocations: 92.2 kB / 0.7879 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1796, allocations: 0 / 0.7879 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002496/0.1799, allocations: 163.2 kB / 0.7881 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.019e-05/0.1799, allocations: 37.7 kB / 0.7881 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.1799, allocations: 4.062 kB / 0.7881 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.18, allocations: 7.984 kB / 0.7881 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.764e-05/0.18, allocations: 0 / 0.7881 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.18, allocations: 4 kB / 0.7881 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001881/0.1802, allocations: 27.97 kB / 0.7881 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/0.1802, allocations: 4 kB / 0.7881 GB, free: 8.316 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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 7.863e-05/0.1803, allocations: 130.4 kB / 0.7883 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.32e-05/0.1803, allocations: 7.906 kB / 0.7883 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.934e-05/0.1803, allocations: 3.906 kB / 0.7883 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.1804, allocations: 4 kB / 0.7883 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.1804, allocations: 0 / 0.7883 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.1804, allocations: 0 / 0.7883 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001071/0.1805, allocations: 181.5 kB / 0.7885 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1805, allocations: 0 / 0.7885 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.513e-05/0.1805, allocations: 4 kB / 0.7885 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.1805, allocations: 0 / 0.7885 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/0.1805, allocations: 4 kB / 0.7885 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.1805, allocations: 0 / 0.7885 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.1805, allocations: 0 / 0.7885 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001057/0.1806, allocations: 96.95 kB / 0.7886 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.085e-05/0.1807, allocations: 77.11 kB / 0.7886 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.1807, allocations: 7.938 kB / 0.7886 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.79e-05/0.1807, allocations: 0 / 0.7886 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.76e-05/0.1807, allocations: 288 / 0.7886 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.1808, allocations: 11.94 kB / 0.7886 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.754e-05/0.1808, allocations: 99.7 kB / 0.7887 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.81e-07/0.1808, allocations: 0 / 0.7887 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002087/0.181, allocations: 23.98 kB / 0.7888 GB, free: 7.574 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: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000334/0.1814, allocations: 0.6357 MB / 0.7894 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001988/0.1816, allocations: 139.3 kB / 0.7895 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1816, allocations: 0 / 0.7895 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.212e-05/0.1816, allocations: 16 kB / 0.7895 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002022/0.1818, allocations: 19.06 kB / 0.7895 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001307/0.1831, allocations: 1.496 MB / 0.791 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001896/0.1833, allocations: 0.6846 MB / 0.7917 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.048e-05/0.1834, allocations: 3.984 kB / 0.7917 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.061e-05/0.1834, allocations: 19.44 kB / 0.7917 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of SimCode: time 1.91e-07/0.1834, allocations: 0 / 0.7917 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3003/0.4837, allocations: 2.337 MB / 0.794 GB, free: 2.172 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.612/8.095, allocations: 20.75 kB / 0.794 GB, free: 2.152 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe 2>&1)