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.PulsePositiveStartTime.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.PulsePositiveStartTime,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulsePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulsePositiveStartTime",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.724/2.724, allocations: 287.5 MB / 302.4 MB, free: 8.336 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.001934/0.001933, allocations: 182.2 kB / 371 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.164/2.164, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.0009214/0.0009211, allocations: 84.45 kB / 0.743 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005203/0.0005205, allocations: 13.03 kB / 0.8659 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.227/0.2276, allocations: 115.3 MB / 0.9785 GB, free: 28.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime): time 0.001988/0.2296, allocations: 0.8412 MB / 0.9793 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.005087/0.2347, allocations: 2.151 MB / 0.9814 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000202/0.235, allocations: 8 kB / 0.9814 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 5.055e-05/0.2351, allocations: 7.875 kB / 0.9814 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003842/0.2355, allocations: 71.39 kB / 0.9815 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.007955/0.2435, allocations: 1.276 MB / 0.9827 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001845/0.2453, allocations: 0.9277 MB / 0.9836 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.2455, allocations: 20.73 kB / 0.9837 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009012/0.2464, allocations: 431.2 kB / 0.9841 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006725/0.2471, allocations: 331 kB / 0.9844 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0004137/0.2475, allocations: 60 kB / 0.9844 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004574/0.248, allocations: 67.98 kB / 0.9845 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.43e-05/0.2481, allocations: 47.83 kB / 0.9846 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000306/0.2485, allocations: 125.6 kB / 0.9847 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001134/0.2496, allocations: 0.6703 MB / 0.9853 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.2497, allocations: 0 / 0.9853 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of FrontEnd: time 4.638e-06/0.2497, allocations: 0 / 0.9853 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.32e-05/0.2497, allocations: 3.938 kB / 0.9853 GB, free: 21.24 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.001688/0.2514, allocations: 1 MB / 0.9863 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.819e-05/0.2515, allocations: 8.031 kB / 0.9863 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.313e-05/0.2516, allocations: 46.55 kB / 0.9864 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004482/0.2521, allocations: 67.61 kB / 0.9864 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002168/0.2523, allocations: 215.2 kB / 0.9866 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.869e-05/0.2524, allocations: 35.98 kB / 0.9867 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003939/0.2528, allocations: 67.92 kB / 0.9867 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004937/0.2533, allocations: 214.3 kB / 0.9869 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.2534, allocations: 4 kB / 0.9869 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.344e-05/0.2534, allocations: 11.98 kB / 0.987 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.2535, allocations: 0 / 0.987 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002632/0.2538, allocations: 71.72 kB / 0.987 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0018/0.2556, allocations: 0.8406 MB / 0.9878 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005097/0.2561, allocations: 327.2 kB / 0.9882 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000323/0.2565, allocations: 132.9 kB / 0.9883 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.499e-05/0.2565, allocations: 11.94 kB / 0.9883 GB, free: 17.69 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001089/0.2576, allocations: 459.1 kB / 0.9887 GB, free: 17.17 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=45): time 5.01e-06/0.2576, allocations: 0 / 0.9887 GB, free: 17.17 MB / 0.6198 GB Notification: Performance of matching and sorting (n=45): time 0.002576/0.2602, allocations: 0.5565 MB / 0.9893 GB, free: 16.61 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001756/0.2604, allocations: 439.2 kB / 0.9897 GB, free: 16.08 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00048/0.2609, allocations: 296.4 kB / 0.99 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0003698/0.2613, allocations: 65.7 kB / 0.99 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003864/0.2617, allocations: 169.2 kB / 0.9902 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.000172/0.2619, allocations: 94.92 kB / 0.9903 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002845/0.2622, allocations: 32 kB / 0.9903 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.2624, allocations: 354.8 kB / 0.9907 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002333/0.2647, allocations: 421.3 kB / 0.9911 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002479/0.2673, allocations: 0.6989 MB / 0.9917 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002349/0.2697, allocations: 0.819 MB / 0.9925 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.349e-05/0.2697, allocations: 4 kB / 0.9925 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.006705/0.2764, allocations: 1.717 MB / 0.9942 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.000357/0.2768, allocations: 477.5 kB / 0.9947 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.538e-05/0.2769, allocations: 8 kB / 0.9947 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.54e-05/0.277, allocations: 16.06 kB / 0.9947 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.2771, allocations: 43.78 kB / 0.9947 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.038e-05/0.2772, allocations: 15.94 kB / 0.9948 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007219/0.2844, allocations: 0.565 MB / 0.9953 GB, free: 9.887 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000499/0.2849, allocations: 95.92 kB / 0.9954 GB, free: 9.793 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.0006645/0.2856, allocations: 221.5 kB / 0.9956 GB, free: 9.566 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001576/0.2858, allocations: 55.52 kB / 0.9957 GB, free: 9.512 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001354/0.286, allocations: 34.14 kB / 0.9957 GB, free: 9.469 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-05/0.286, allocations: 8 kB / 0.9957 GB, free: 9.461 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.655e-05/0.286, allocations: 4 kB / 0.9957 GB, free: 9.457 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.714e-05/0.2861, allocations: 4 kB / 0.9957 GB, free: 9.453 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006667/0.2868, allocations: 341.2 kB / 0.996 GB, free: 9.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.044e-05/0.2868, allocations: 4 kB / 0.996 GB, free: 9.066 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.866e-05/0.2869, allocations: 27.91 kB / 0.9961 GB, free: 9.039 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.615e-05/0.2869, allocations: 4 kB / 0.9961 GB, free: 9.035 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.802e-05/0.287, allocations: 27.92 kB / 0.9961 GB, free: 9.008 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.314e-05/0.287, allocations: 7.938 kB / 0.9961 GB, free: 9 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.264e-06/0.2871, allocations: 4 kB / 0.9961 GB, free: 8.996 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001384/0.2885, allocations: 0.5081 MB / 0.9966 GB, free: 8.43 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000108/0.2886, allocations: 116.7 kB / 0.9967 GB, free: 8.297 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/0.2887, allocations: 15.98 kB / 0.9967 GB, free: 8.281 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003246/0.2891, allocations: 12 kB / 0.9967 GB, free: 8.27 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000168/0.2893, allocations: 59.83 kB / 0.9968 GB, free: 8.211 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.265e-05/0.2894, allocations: 31.97 kB / 0.9968 GB, free: 8.18 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002992/0.2897, allocations: 191 kB / 0.997 GB, free: 7.992 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8.11e-07/0.2897, allocations: 0 / 0.997 GB, free: 7.992 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001698/0.2914, allocations: 204 kB / 0.9972 GB, free: 7.793 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.001781/0.2932, allocations: 1.081 MB / 0.9983 GB, free: 6.641 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00452/0.2978, allocations: 1.755 MB / 1 GB, free: 4.703 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/0.2978, allocations: 4.125 kB / 1 GB, free: 4.699 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006609/0.2985, allocations: 179.7 kB / 1 GB, free: 4.523 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001722/0.3003, allocations: 116.9 kB / 1 GB, free: 4.406 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01329/0.3136, allocations: 3.526 MB / 1.004 GB, free: 0.6602 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002923/0.3139, allocations: 0.7722 MB / 1.004 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002584/0.3142, allocations: 42.97 kB / 1.005 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002042/0.3144, allocations: 109.8 kB / 1.005 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of SimCode: time 1.764e-06/0.3144, allocations: 0 / 1.005 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0586/0.3731, allocations: 13.82 MB / 1.018 GB, free: 2.195 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003147/0.3734, allocations: 229.9 kB / 1.018 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.113/3.486, allocations: 0 / 1.018 GB, free: 1.949 MB / 0.6355 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulsePositiveStartTime_fmu --startTime=9 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulsePositiveStartTime.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe 2>&1)