Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse,fileNamePrefix="Buildings_8_0_0_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_0_0_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/Buildings 8.0.0/package.mo): time 2.703/2.703, allocations: 287.3 MB / 302.3 MB, free: 8.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001493/0.001493, allocations: 175 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.141/2.141, allocations: 205.4 MB / 0.6295 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001141/0.00114, allocations: 96.52 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007719/0.0007721, allocations: 12.89 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2984/0.2992, allocations: 115.3 MB / 0.9783 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse): time 0.001341/0.3006, allocations: 0.826 MB / 0.9791 GB, free: 27.43 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003054/0.3037, allocations: 1.886 MB / 0.981 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001434/0.3039, allocations: 4 kB / 0.981 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.009e-05/0.304, allocations: 19.8 kB / 0.981 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002834/0.3043, allocations: 91.73 kB / 0.9811 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.004654/0.3089, allocations: 1.283 MB / 0.9823 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001061/0.31, allocations: 0.5811 MB / 0.9829 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.186e-05/0.3101, allocations: 16.75 kB / 0.9829 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005278/0.3107, allocations: 419.3 kB / 0.9833 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004295/0.3111, allocations: 323.1 kB / 0.9836 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0002207/0.3113, allocations: 60 kB / 0.9837 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002756/0.3116, allocations: 71.98 kB / 0.9837 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.841e-05/0.3117, allocations: 51.81 kB / 0.9838 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001963/0.3119, allocations: 129.5 kB / 0.9839 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000759/0.3127, allocations: 0.6703 MB / 0.9846 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.3127, allocations: 0 / 0.9846 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.054e-06/0.3127, allocations: 0 / 0.9846 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.358e-06/0.3127, allocations: 0 / 0.9846 GB, free: 21.87 MB / 0.6198 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.001113/0.3138, allocations: 1 MB / 0.9855 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.3139, allocations: 16 kB / 0.9856 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.642e-05/0.314, allocations: 46.53 kB / 0.9856 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000267/0.3142, allocations: 67.58 kB / 0.9857 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001633/0.3144, allocations: 211.3 kB / 0.9859 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.447e-05/0.3145, allocations: 39.92 kB / 0.9859 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002504/0.3148, allocations: 67.98 kB / 0.986 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003316/0.3151, allocations: 206.3 kB / 0.9862 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.3151, allocations: 4 kB / 0.9862 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.518e-05/0.3152, allocations: 3.984 kB / 0.9862 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.3152, allocations: 8 kB / 0.9862 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000164/0.3154, allocations: 71.72 kB / 0.9863 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001059/0.3164, allocations: 0.8445 MB / 0.9871 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000303/0.3167, allocations: 327.2 kB / 0.9874 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.268e-05/0.3168, allocations: 12.05 kB / 0.9874 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007313/0.3175, allocations: 461 kB / 0.9878 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=45): time 3.216e-06/0.3175, allocations: 0 / 0.9878 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=45): time 0.001624/0.3192, allocations: 0.5609 MB / 0.9884 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001409/0.3193, allocations: 443.2 kB / 0.9888 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003144/0.3197, allocations: 284.4 kB / 0.9891 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0002479/0.3199, allocations: 73.69 kB / 0.9892 GB, free: 16.51 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002265/0.3202, allocations: 157.2 kB / 0.9893 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.585e-05/0.3203, allocations: 90.94 kB / 0.9894 GB, free: 16.27 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001804/0.3205, allocations: 36 kB / 0.9894 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.207e-05/0.3206, allocations: 358.7 kB / 0.9898 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001371/0.3219, allocations: 413.3 kB / 0.9902 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001478/0.3234, allocations: 0.7067 MB / 0.9909 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001422/0.3249, allocations: 0.8225 MB / 0.9917 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.799e-06/0.3249, allocations: 4 kB / 0.9917 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.004122/0.329, allocations: 1.717 MB / 0.9933 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002521/0.3293, allocations: 481.4 kB / 0.9938 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.767e-05/0.3294, allocations: 8 kB / 0.9938 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.208e-05/0.3294, allocations: 19.94 kB / 0.9938 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.297e-05/0.3295, allocations: 31.86 kB / 0.9939 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.994e-05/0.3295, allocations: 15.94 kB / 0.9939 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004497/0.334, allocations: 0.5644 MB / 0.9944 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003422/0.3344, allocations: 99.92 kB / 0.9945 GB, free: 10.6 MB / 0.6198 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 ($PRE.booPul_c5.y,booPul_c5.y,$whenCondition29,$whenCondition30,$PRE.booPul_b5.y,booPul_b5.y,$whenCondition27,$whenCondition28,$PRE.booPul_a5.y,booPul_a5.y,$whenCondition25,$whenCondition26,$PRE.booPul_c4.y,booPul_c4.y,$whenCondition23,$whenCondition24,$PRE.booPul_b4.y,booPul_b4.y,$whenCondition21,$whenCondition22,$PRE.booPul_a4.y,booPul_a4.y,$whenCondition19,$whenCondition20,$PRE.booPul_c3.y,booPul_c3.y,$whenCondition17,$whenCondition18,$PRE.booPul_b3.y,booPul_b3.y,$whenCondition15,$whenCondition16,$PRE.booPul_a3.y,booPul_a3.y,$whenCondition13,$whenCondition14,$PRE.booPul_c2.y,booPul_c2.y,$whenCondition11,$whenCondition12,$PRE.booPul_b2.y,booPul_b2.y,$whenCondition9,$whenCondition10,$PRE.booPul_a2.y,booPul_a2.y,$whenCondition7,$whenCondition8,$PRE.booPul_c1.y,booPul_c1.y,$whenCondition5,$whenCondition6,$PRE.booPul_b1.y,booPul_b1.y,$whenCondition3,$whenCondition4,$PRE.booPul_a1.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004496/0.3349, allocations: 231.5 kB / 0.9947 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.335, allocations: 43.52 kB / 0.9948 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.358e-05/0.3351, allocations: 34.14 kB / 0.9948 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.3351, allocations: 8 kB / 0.9948 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-05/0.3351, allocations: 4 kB / 0.9948 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/0.3352, allocations: 7.984 kB / 0.9948 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004302/0.3356, allocations: 341.2 kB / 0.9952 GB, free: 9.875 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.3356, allocations: 4 kB / 0.9952 GB, free: 9.871 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.664e-05/0.3357, allocations: 23.92 kB / 0.9952 GB, free: 9.848 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.085e-05/0.3357, allocations: 4 kB / 0.9952 GB, free: 9.844 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.705e-05/0.3357, allocations: 23.92 kB / 0.9952 GB, free: 9.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.535e-06/0.3358, allocations: 4 kB / 0.9952 GB, free: 9.816 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.673e-06/0.3358, allocations: 11.92 kB / 0.9952 GB, free: 9.805 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009294/0.3367, allocations: 0.6799 MB / 0.9959 GB, free: 8.98 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.161e-05/0.3368, allocations: 108.7 kB / 0.996 GB, free: 8.855 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.461e-05/0.3369, allocations: 19.98 kB / 0.996 GB, free: 8.836 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002054/0.3371, allocations: 11.98 kB / 0.996 GB, free: 8.824 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/0.3372, allocations: 67.83 kB / 0.9961 GB, free: 8.758 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.85e-05/0.3373, allocations: 27.98 kB / 0.9961 GB, free: 8.73 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001937/0.3375, allocations: 183.1 kB / 0.9963 GB, free: 8.551 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.5e-07/0.3375, allocations: 0 / 0.9963 GB, free: 8.551 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001191/0.3387, allocations: 200 kB / 0.9965 GB, free: 8.355 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001448/0.3402, allocations: 2.208 MB / 0.9986 GB, free: 6.023 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002944/0.3432, allocations: 1.751 MB / 1 GB, free: 4.09 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/0.3432, allocations: 4.125 kB / 1 GB, free: 4.086 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004629/0.3437, allocations: 187.7 kB / 1.001 GB, free: 3.902 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001004/0.3447, allocations: 97 kB / 1.001 GB, free: 3.805 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004801/0.3495, allocations: 7.854 MB / 1.008 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004882/0.3501, allocations: 0.78 MB / 1.009 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002677/0.3504, allocations: 42.97 kB / 1.009 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002326/0.3506, allocations: 111.4 kB / 1.009 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of SimCode: time 1.303e-06/0.3506, allocations: 4 kB / 1.009 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04837/0.399, allocations: 13.64 MB / 1.023 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003317/0.3994, allocations: 186.5 kB / 1.023 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.048/3.447, allocations: 2.25 kB / 1.023 GB, free: 13.09 MB / 0.6511 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe 2>&1)