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.001566/0.001566, 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.001762/0.001762, allocations: 194.6 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.453/1.453, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.774/1.774, allocations: 292.3 MB / 0.5489 GB, free: 13.55 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.00181/0.00181, allocations: 68.52 kB / 0.6716 GB, free: 25.96 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2452/0.247, allocations: 114.6 MB / 0.7835 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse): time 0.003092/0.2502, allocations: 1.18 MB / 0.7846 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002938/0.2531, allocations: 2.167 MB / 0.7868 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001/0.2533, allocations: 4 kB / 0.7868 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.815e-05/0.2533, allocations: 19.69 kB / 0.7868 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001794/0.2535, allocations: 87.25 kB / 0.7869 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002993/0.2565, allocations: 1.38 MB / 0.7882 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001298/0.2579, allocations: 1.279 MB / 0.7895 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.873e-05/0.2579, allocations: 20.75 kB / 0.7895 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004834/0.2584, allocations: 479.2 kB / 0.7899 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003526/0.2588, allocations: 351 kB / 0.7903 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000207/0.259, allocations: 108 kB / 0.7904 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002272/0.2593, allocations: 116 kB / 0.7905 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.567e-05/0.2593, allocations: 59.81 kB / 0.7906 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004029/0.2597, allocations: 395 kB / 0.7909 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008856/0.2606, allocations: 0.9665 MB / 0.7919 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2606, allocations: 0 / 0.7919 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2606, allocations: 0 / 0.7919 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.2607, allocations: 0 / 0.7919 GB, free: 4.895 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.001338/0.262, allocations: 1.176 MB / 0.793 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.262, allocations: 12.02 kB / 0.793 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.735e-05/0.2621, allocations: 42.73 kB / 0.7931 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002/0.2623, allocations: 64.56 kB / 0.7931 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000159/0.2625, allocations: 220.5 kB / 0.7933 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.415e-05/0.2625, allocations: 40.36 kB / 0.7934 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001444/0.2627, allocations: 64.36 kB / 0.7934 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002924/0.263, allocations: 218 kB / 0.7937 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.263, allocations: 3.938 kB / 0.7937 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.917e-05/0.263, allocations: 7.984 kB / 0.7937 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.263, allocations: 4 kB / 0.7937 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001176/0.2632, allocations: 71.72 kB / 0.7937 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008839/0.2641, allocations: 0.8444 MB / 0.7946 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003117/0.2644, allocations: 327.2 kB / 0.7949 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001543/0.2645, allocations: 136.9 kB / 0.795 GB, free: 1.172 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.564e-05/0.2646, allocations: 15.94 kB / 0.795 GB, free: 1.156 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000595/0.2652, allocations: 462.7 kB / 0.7955 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=45): time 3.286e-06/0.2652, allocations: 0 / 0.7955 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45): time 0.0009949/0.2662, allocations: 0.569 MB / 0.796 GB, free: 68 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002302/0.2664, allocations: 443.2 kB / 0.7964 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002765/0.2667, allocations: 292.3 kB / 0.7967 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001311/0.2669, allocations: 69.69 kB / 0.7968 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001932/0.2671, allocations: 157.3 kB / 0.7969 GB, free: 15 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 7.99e-05/0.2671, allocations: 98.78 kB / 0.797 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004566/0.2676, allocations: 274 kB / 0.7973 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.2678, allocations: 354.8 kB / 0.7976 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008455/0.2686, allocations: 425.3 kB / 0.798 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009742/0.2696, allocations: 0.7028 MB / 0.7987 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001288/0.2709, allocations: 1.184 MB / 0.7999 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.746e-06/0.2709, allocations: 12 kB / 0.7999 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002681/0.2736, allocations: 1.728 MB / 0.8016 GB, free: 9.766 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002676/0.2739, allocations: 474.4 kB / 0.802 GB, free: 9.211 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/0.2739, allocations: 12 kB / 0.802 GB, free: 9.199 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.395e-05/0.274, allocations: 12 kB / 0.802 GB, free: 9.188 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.044e-05/0.274, allocations: 31.86 kB / 0.8021 GB, free: 9.156 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.86e-05/0.2741, allocations: 23.92 kB / 0.8021 GB, free: 9.133 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002367/0.2764, allocations: 423.5 kB / 0.8025 GB, free: 8.719 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001556/0.2766, allocations: 95.92 kB / 0.8026 GB, free: 8.625 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.0003285/0.2769, allocations: 217.5 kB / 0.8028 GB, free: 8.402 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.806e-05/0.277, allocations: 47.45 kB / 0.8028 GB, free: 8.355 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.968e-05/0.2771, allocations: 42.14 kB / 0.8029 GB, free: 8.312 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/0.2771, allocations: 8 kB / 0.8029 GB, free: 8.305 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-05/0.2771, allocations: 4 kB / 0.8029 GB, free: 8.301 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.2772, allocations: 4 kB / 0.8029 GB, free: 8.297 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003803/0.2775, allocations: 333.4 kB / 0.8032 GB, free: 7.922 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.2776, allocations: 4 kB / 0.8032 GB, free: 7.918 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.431e-05/0.2776, allocations: 19.86 kB / 0.8032 GB, free: 7.898 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.603e-06/0.2776, allocations: 8 kB / 0.8033 GB, free: 7.891 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.964e-05/0.2776, allocations: 23.97 kB / 0.8033 GB, free: 7.867 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.024e-05/0.2777, allocations: 12 kB / 0.8033 GB, free: 7.855 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.2777, allocations: 7.938 kB / 0.8033 GB, free: 7.848 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006159/0.2783, allocations: 0.5119 MB / 0.8038 GB, free: 7.277 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 7.698e-05/0.2784, allocations: 116.6 kB / 0.8039 GB, free: 7.145 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.784e-05/0.2784, allocations: 19.92 kB / 0.8039 GB, free: 7.125 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.2785, allocations: 16 kB / 0.8039 GB, free: 7.109 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.663e-05/0.2786, allocations: 63.81 kB / 0.804 GB, free: 7.047 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-05/0.2787, allocations: 27.98 kB / 0.804 GB, free: 7.02 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001564/0.2788, allocations: 187.1 kB / 0.8042 GB, free: 6.84 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2788, allocations: 0 / 0.8042 GB, free: 6.84 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006365/0.2795, allocations: 200 kB / 0.8044 GB, free: 6.645 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.001017/0.2805, allocations: 1.081 MB / 0.8055 GB, free: 5.492 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002133/0.2827, allocations: 1.766 MB / 0.8072 GB, free: 3.543 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.052e-06/0.2827, allocations: 320 / 0.8072 GB, free: 3.543 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002662/0.2829, allocations: 188.5 kB / 0.8074 GB, free: 3.359 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007649/0.2837, allocations: 137.3 kB / 0.8075 GB, free: 3.227 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009938/0.2937, allocations: 6.456 MB / 0.8138 GB, free: 12.24 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003714/0.2941, allocations: 0.7761 MB / 0.8146 GB, free: 11.44 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001996/0.2943, allocations: 42.97 kB / 0.8146 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/0.2944, allocations: 103.4 kB / 0.8147 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of SimCode: time 1.593e-06/0.2944, allocations: 3.938 kB / 0.8147 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0352/0.3296, allocations: 14.78 MB / 0.8291 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.456/8.785, allocations: 3.75 kB / 0.8291 GB, free: 12.75 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-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)