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.0009395/0.0009438, allocations: 100.5 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.988/1.988, allocations: 205.4 MB / 222.1 MB, free: 5.523 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.763/1.763, allocations: 292.6 MB / 0.5497 GB, free: 14.61 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.0006356/0.0006359, allocations: 18.28 kB / 0.6737 GB, free: 26.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.2955, allocations: 116.3 MB / 0.7872 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse): time 0.001699/0.2973, allocations: 0.8301 MB / 0.7881 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002725/0.3, allocations: 1.893 MB / 0.7899 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.606e-05/0.3001, allocations: 0 / 0.7899 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.056e-05/0.3002, allocations: 15.81 kB / 0.7899 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002666/0.3005, allocations: 95.73 kB / 0.79 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003075/0.3036, allocations: 1.287 MB / 0.7913 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008492/0.3044, allocations: 0.5811 MB / 0.7918 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.372e-05/0.3045, allocations: 20.75 kB / 0.7919 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004897/0.305, allocations: 419.3 kB / 0.7923 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003734/0.3054, allocations: 323.1 kB / 0.7926 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000129/0.3055, allocations: 56 kB / 0.7926 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001996/0.3057, allocations: 75.98 kB / 0.7927 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.903e-05/0.3058, allocations: 55.75 kB / 0.7927 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001736/0.306, allocations: 125.6 kB / 0.7929 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006813/0.3067, allocations: 0.6625 MB / 0.7935 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.3067, allocations: 0 / 0.7935 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3067, allocations: 4 kB / 0.7935 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.955e-06/0.3067, allocations: 3.938 kB / 0.7935 GB, free: 5.449 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.000904/0.3076, allocations: 1.008 MB / 0.7945 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.3076, allocations: 12.03 kB / 0.7945 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.326e-05/0.3077, allocations: 42.55 kB / 0.7946 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000165/0.3079, allocations: 67.61 kB / 0.7946 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001771/0.308, allocations: 215.2 kB / 0.7948 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.299e-05/0.3081, allocations: 32 kB / 0.7949 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001458/0.3083, allocations: 71.98 kB / 0.7949 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002669/0.3085, allocations: 206.4 kB / 0.7951 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.3085, allocations: 3.938 kB / 0.7951 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.991e-05/0.3086, allocations: 7.984 kB / 0.7951 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.3086, allocations: 8 kB / 0.7951 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001124/0.3087, allocations: 67.78 kB / 0.7952 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009523/0.3097, allocations: 0.8406 MB / 0.796 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003353/0.31, allocations: 331.2 kB / 0.7963 GB, free: 2.09 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.363e-05/0.31, allocations: 8.062 kB / 0.7963 GB, free: 2.082 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006238/0.3107, allocations: 462.8 kB / 0.7968 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=45): time 4.458e-06/0.3107, allocations: 3.984 kB / 0.7968 GB, free: 1.555 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45): time 0.0009769/0.3117, allocations: 0.554 MB / 0.7973 GB, free: 0.9961 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002894/0.312, allocations: 439.2 kB / 0.7978 GB, free: 480 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002882/0.3123, allocations: 292.4 kB / 0.798 GB, free: 176 kB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001344/0.3124, allocations: 65.7 kB / 0.7981 GB, free: 104 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002382/0.3127, allocations: 165.2 kB / 0.7983 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.756e-05/0.3128, allocations: 90.94 kB / 0.7983 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.3129, allocations: 32 kB / 0.7984 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001929/0.3131, allocations: 354.8 kB / 0.7987 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008243/0.3139, allocations: 425.2 kB / 0.7991 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001028/0.3149, allocations: 0.7028 MB / 0.7998 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001035/0.316, allocations: 0.8177 MB / 0.8006 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.827e-06/0.316, allocations: 4 kB / 0.8006 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002856/0.3189, allocations: 1.721 MB / 0.8023 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003237/0.3192, allocations: 473.5 kB / 0.8027 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.126e-05/0.3192, allocations: 12 kB / 0.8027 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.03e-05/0.3193, allocations: 15.94 kB / 0.8028 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.783e-05/0.3194, allocations: 31.86 kB / 0.8028 GB, free: 10.85 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.136e-05/0.3194, allocations: 23.92 kB / 0.8028 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002924/0.3223, allocations: 0.5675 MB / 0.8034 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001869/0.3225, allocations: 99.92 kB / 0.8035 GB, free: 10.17 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 ($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.0004771/0.323, allocations: 229.5 kB / 0.8037 GB, free: 9.934 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.3231, allocations: 43.52 kB / 0.8037 GB, free: 9.891 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.294e-05/0.3232, allocations: 38.14 kB / 0.8038 GB, free: 9.852 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-05/0.3233, allocations: 8 kB / 0.8038 GB, free: 9.844 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-05/0.3233, allocations: 7.938 kB / 0.8038 GB, free: 9.836 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.3233, allocations: 4 kB / 0.8038 GB, free: 9.832 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004387/0.3237, allocations: 337.2 kB / 0.8041 GB, free: 9.453 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/0.3238, allocations: 11.98 kB / 0.8041 GB, free: 9.441 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.944e-05/0.3238, allocations: 15.94 kB / 0.8041 GB, free: 9.426 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.217e-05/0.3238, allocations: 8 kB / 0.8041 GB, free: 9.418 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.976e-05/0.3239, allocations: 19.97 kB / 0.8042 GB, free: 9.398 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.526e-06/0.3239, allocations: 7.938 kB / 0.8042 GB, free: 9.391 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.3239, allocations: 4 kB / 0.8042 GB, free: 9.387 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008342/0.3247, allocations: 0.68 MB / 0.8048 GB, free: 8.562 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.233e-05/0.3248, allocations: 112.7 kB / 0.8049 GB, free: 8.434 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.058e-05/0.3249, allocations: 15.98 kB / 0.805 GB, free: 8.418 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.325, allocations: 11.98 kB / 0.805 GB, free: 8.406 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.3251, allocations: 63.83 kB / 0.805 GB, free: 8.344 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.652e-05/0.3251, allocations: 27.98 kB / 0.8051 GB, free: 8.316 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000209/0.3254, allocations: 187.1 kB / 0.8052 GB, free: 8.137 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3254, allocations: 0 / 0.8052 GB, free: 8.137 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008783/0.3263, allocations: 200 kB / 0.8054 GB, free: 7.941 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 (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.001792/0.3281, allocations: 2.216 MB / 0.8076 GB, free: 5.602 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002736/0.3308, allocations: 1.739 MB / 0.8093 GB, free: 3.68 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.3308, allocations: 384 / 0.8093 GB, free: 3.68 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003462/0.3312, allocations: 187.7 kB / 0.8095 GB, free: 3.496 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006638/0.3319, allocations: 106.4 kB / 0.8096 GB, free: 3.395 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005719/0.3376, allocations: 7.845 MB / 0.8172 GB, free: 11.26 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006527/0.3383, allocations: 0.7878 MB / 0.818 GB, free: 10.44 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003285/0.3386, allocations: 38.98 kB / 0.818 GB, free: 10.4 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001797/0.3388, allocations: 111.4 kB / 0.8181 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of SimCode: time 1.153e-06/0.3389, allocations: 0 / 0.8181 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03624/0.3751, allocations: 13.62 MB / 0.8314 GB, free: 12.97 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002648/0.3754, allocations: 197.3 kB / 0.8316 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.248/2.623, allocations: 3.938 kB / 0.8316 GB, free: 12.72 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/linux/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) Environment - environmentSimulation: