Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.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.Logical.Sources.Validation.Pulse,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_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.001043/0.001043, allocations: 108 kB / 15.61 MB, free: 152 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.001057/0.001057, allocations: 192.9 kB / 16.53 MB, free: 6.664 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.402/1.402, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.692/1.692, allocations: 292.3 MB / 0.5489 GB, free: 12.81 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.001387/0.001387, allocations: 71.16 kB / 0.6716 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.17, allocations: 114.5 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse): time 0.002081/0.1722, allocations: 1.192 MB / 0.7847 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002056/0.1742, allocations: 2.163 MB / 0.7868 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.373e-05/0.1743, allocations: 0 / 0.7868 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.202e-05/0.1744, allocations: 23.69 kB / 0.7868 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000141/0.1745, allocations: 91.14 kB / 0.7869 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002308/0.1768, allocations: 1.377 MB / 0.7882 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008969/0.1777, allocations: 1.291 MB / 0.7895 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.495e-05/0.1778, allocations: 16.75 kB / 0.7895 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003374/0.1781, allocations: 479.2 kB / 0.79 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002921/0.1784, allocations: 351 kB / 0.7903 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001637/0.1786, allocations: 108 kB / 0.7904 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001908/0.1788, allocations: 120 kB / 0.7905 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.41e-05/0.1789, allocations: 51.83 kB / 0.7906 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000354/0.1792, allocations: 395 kB / 0.7909 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006768/0.1799, allocations: 0.9626 MB / 0.7919 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1799, allocations: 0 / 0.7919 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1799, allocations: 0 / 0.7919 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.1799, allocations: 0 / 0.7919 GB, free: 4.809 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001048/0.181, allocations: 1.179 MB / 0.793 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.099e-05/0.181, allocations: 8.031 kB / 0.793 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.601e-05/0.1811, allocations: 46.73 kB / 0.7931 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001844/0.1812, allocations: 68.55 kB / 0.7931 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.1814, allocations: 224.4 kB / 0.7934 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.814e-05/0.1814, allocations: 32.38 kB / 0.7934 GB, free: 3.066 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001334/0.1816, allocations: 64.36 kB / 0.7934 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002263/0.1818, allocations: 213.6 kB / 0.7937 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.1818, allocations: 11.88 kB / 0.7937 GB, free: 2.734 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.81e-05/0.1818, allocations: 7.984 kB / 0.7937 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.1818, allocations: 0 / 0.7937 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.895e-05/0.182, allocations: 71.78 kB / 0.7937 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00075/0.1827, allocations: 0.8405 MB / 0.7946 GB, free: 1.723 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002409/0.183, allocations: 331.2 kB / 0.7949 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001316/0.1831, allocations: 136.8 kB / 0.795 GB, free: 1.082 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.38e-05/0.1831, allocations: 15.98 kB / 0.795 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004721/0.1836, allocations: 462.6 kB / 0.7955 GB, free: 0.5508 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=45): time 1.733e-06/0.1836, allocations: 3.938 kB / 0.7955 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45): time 0.0008697/0.1845, allocations: 0.5653 MB / 0.796 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000154/0.1846, allocations: 443.2 kB / 0.7964 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002232/0.1849, allocations: 292.3 kB / 0.7967 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.000113/0.185, allocations: 69.69 kB / 0.7968 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001625/0.1852, allocations: 157.3 kB / 0.7969 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.087e-05/0.1852, allocations: 94.84 kB / 0.797 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004092/0.1857, allocations: 282 kB / 0.7973 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.1858, allocations: 354.8 kB / 0.7976 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007684/0.1865, allocations: 417.3 kB / 0.798 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009064/0.1875, allocations: 0.7067 MB / 0.7987 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001141/0.1886, allocations: 1.191 MB / 0.7999 GB, free: 11.51 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/0.1886, allocations: 4 kB / 0.7999 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002572/0.1912, allocations: 1.724 MB / 0.8016 GB, free: 9.68 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002257/0.1914, allocations: 480.1 kB / 0.802 GB, free: 9.121 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.1915, allocations: 8 kB / 0.802 GB, free: 9.113 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.39e-05/0.1915, allocations: 13.06 kB / 0.8021 GB, free: 9.102 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.905e-05/0.1916, allocations: 35.86 kB / 0.8021 GB, free: 9.066 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.745e-05/0.1916, allocations: 23.86 kB / 0.8021 GB, free: 9.043 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002399/0.194, allocations: 422.9 kB / 0.8025 GB, free: 8.629 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001552/0.1941, allocations: 95.91 kB / 0.8026 GB, free: 8.535 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 60 (booPul_c5.y,$PRE.booPul_c5.y,$whenCondition29,$whenCondition30,booPul_b5.y,$PRE.booPul_b5.y,$whenCondition27,$whenCondition28,booPul_a5.y,$PRE.booPul_a5.y,$whenCondition25,$whenCondition26,booPul_c4.y,$PRE.booPul_c4.y,$whenCondition23,$whenCondition24,booPul_b4.y,$PRE.booPul_b4.y,$whenCondition21,$whenCondition22,booPul_a4.y,$PRE.booPul_a4.y,$whenCondition19,$whenCondition20,booPul_c3.y,$PRE.booPul_c3.y,$whenCondition17,$whenCondition18,booPul_b3.y,$PRE.booPul_b3.y,$whenCondition15,$whenCondition16,booPul_a3.y,$PRE.booPul_a3.y,$whenCondition13,$whenCondition14,booPul_c2.y,$PRE.booPul_c2.y,$whenCondition11,$whenCondition12,booPul_b2.y,$PRE.booPul_b2.y,$whenCondition9,$whenCondition10,booPul_a2.y,$PRE.booPul_a2.y,$whenCondition7,$whenCondition8,booPul_c1.y,$PRE.booPul_c1.y,$whenCondition5,$whenCondition6,booPul_b1.y,$PRE.booPul_b1.y,$whenCondition3,$whenCondition4,booPul_a1.y,$PRE.booPul_a1.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 15 * 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 0.0003099/0.1945, allocations: 221.6 kB / 0.8028 GB, free: 8.309 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.798e-05/0.1946, allocations: 47.47 kB / 0.8029 GB, free: 8.262 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.961e-05/0.1946, allocations: 34.14 kB / 0.8029 GB, free: 8.227 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/0.1946, allocations: 8 kB / 0.8029 GB, free: 8.219 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/0.1946, allocations: 8 kB / 0.8029 GB, free: 8.211 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/0.1947, allocations: 7.984 kB / 0.8029 GB, free: 8.203 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000388/0.1951, allocations: 325.4 kB / 0.8032 GB, free: 7.836 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.1951, allocations: 4 kB / 0.8032 GB, free: 7.832 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.721e-05/0.1951, allocations: 27.86 kB / 0.8033 GB, free: 7.805 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/0.1951, allocations: 8 kB / 0.8033 GB, free: 7.797 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.412e-05/0.1952, allocations: 19.98 kB / 0.8033 GB, free: 7.777 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.276e-06/0.1952, allocations: 15.92 kB / 0.8033 GB, free: 7.762 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.1952, allocations: 4 kB / 0.8033 GB, free: 7.758 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005748/0.1958, allocations: 0.5119 MB / 0.8038 GB, free: 7.188 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 5.696e-05/0.1958, allocations: 120.5 kB / 0.8039 GB, free: 7.051 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.655e-05/0.1959, allocations: 19.98 kB / 0.8039 GB, free: 7.031 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.196, allocations: 15.98 kB / 0.804 GB, free: 7.016 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.477e-05/0.1961, allocations: 59.81 kB / 0.804 GB, free: 6.957 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.091e-05/0.1961, allocations: 27.98 kB / 0.804 GB, free: 6.93 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001363/0.1962, allocations: 187.1 kB / 0.8042 GB, free: 6.75 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1962, allocations: 4 kB / 0.8042 GB, free: 6.746 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005911/0.1968, allocations: 200 kB / 0.8044 GB, free: 6.551 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition29,$whenCondition30,booPul_c5.y,$whenCondition27,$whenCondition28,booPul_b5.y,$whenCondition25,$whenCondition26,booPul_a5.y,$whenCondition23,$whenCondition24,booPul_c4.y,$whenCondition21,$whenCondition22,booPul_b4.y,$whenCondition19,$whenCondition20,booPul_a4.y,$whenCondition17,$whenCondition18,booPul_c3.y,$whenCondition15,$whenCondition16,booPul_b3.y,$whenCondition13,$whenCondition14,booPul_a3.y,$whenCondition11,$whenCondition12,booPul_c2.y,$whenCondition9,$whenCondition10,booPul_b2.y,$whenCondition7,$whenCondition8,booPul_a2.y,$whenCondition5,$whenCondition6,booPul_c1.y,$whenCondition3,$whenCondition4,booPul_b1.y,$whenCondition1,$whenCondition2,booPul_a1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 15 * 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.000931/0.1978, allocations: 1.085 MB / 0.8055 GB, free: 5.395 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00185/0.1996, allocations: 1.77 MB / 0.8072 GB, free: 3.441 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1997, allocations: 0 / 0.8072 GB, free: 3.441 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000222/0.1999, allocations: 183.7 kB / 0.8074 GB, free: 3.262 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006628/0.2006, allocations: 121.1 kB / 0.8075 GB, free: 3.145 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007832/0.2084, allocations: 6.457 MB / 0.8138 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002603/0.2087, allocations: 0.7761 MB / 0.8145 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001344/0.2088, allocations: 46.95 kB / 0.8146 GB, free: 11.31 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001171/0.2089, allocations: 107.4 kB / 0.8147 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of SimCode: time 5.51e-07/0.209, allocations: 0 / 0.8147 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1905/0.3995, allocations: 14.78 MB / 0.8291 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.439/8.839, allocations: 14.97 kB / 0.8291 GB, free: 12.66 MB / 0.6544 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe 2>&1)