Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.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: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001546/0.001546, 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.001884/0.001884, allocations: 192.7 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.736/1.736, 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.802/1.802, allocations: 292.3 MB / 0.5488 GB, free: 12.83 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.001553/0.001553, allocations: 67.56 kB / 0.6715 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2826/0.2841, allocations: 114.5 MB / 0.7834 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime): time 0.002512/0.2867, allocations: 1.176 MB / 0.7845 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002614/0.2893, allocations: 2.167 MB / 0.7867 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.109e-05/0.2894, allocations: 4 kB / 0.7867 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.918e-05/0.2895, allocations: 23.69 kB / 0.7867 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001855/0.2897, allocations: 83.2 kB / 0.7868 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002911/0.2926, allocations: 1.383 MB / 0.7881 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001303/0.2939, allocations: 1.287 MB / 0.7894 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.144e-05/0.294, allocations: 20.75 kB / 0.7894 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000476/0.2945, allocations: 479.2 kB / 0.7898 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003567/0.2949, allocations: 351 kB / 0.7902 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001841/0.2951, allocations: 104 kB / 0.7903 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002178/0.2953, allocations: 124 kB / 0.7904 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.769e-05/0.2954, allocations: 55.83 kB / 0.7905 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004108/0.2958, allocations: 387 kB / 0.7908 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0009602/0.2968, allocations: 0.9665 MB / 0.7918 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.2968, allocations: 0 / 0.7918 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.685e-06/0.2968, allocations: 4 kB / 0.7918 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.887e-06/0.2968, allocations: 0 / 0.7918 GB, free: 4.906 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.001292/0.2981, allocations: 1.176 MB / 0.7929 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.2981, allocations: 12.03 kB / 0.7929 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001953/0.2983, allocations: 64.64 kB / 0.793 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001913/0.2985, allocations: 224.3 kB / 0.7932 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.282e-05/0.2986, allocations: 36.36 kB / 0.7932 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001444/0.2988, allocations: 68.36 kB / 0.7933 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003203/0.2991, allocations: 213.9 kB / 0.7935 GB, free: 2.895 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.2991, allocations: 4.125 kB / 0.7935 GB, free: 2.891 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.646e-05/0.2991, allocations: 15.86 kB / 0.7935 GB, free: 2.875 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.2992, allocations: 4 kB / 0.7935 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001083/0.2993, allocations: 67.78 kB / 0.7936 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009457/0.3002, allocations: 0.8405 MB / 0.7944 GB, free: 1.871 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003668/0.3006, allocations: 331.2 kB / 0.7947 GB, free: 1.41 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000209/0.3008, allocations: 140.9 kB / 0.7949 GB, free: 1.227 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.3008, allocations: 11.98 kB / 0.7949 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007039/0.3015, allocations: 458.7 kB / 0.7953 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=45): time 4.068e-06/0.3016, allocations: 0 / 0.7953 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45): time 0.001027/0.3026, allocations: 0.5656 MB / 0.7959 GB, free: 136 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002585/0.3029, allocations: 447.1 kB / 0.7963 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002795/0.3031, allocations: 300.2 kB / 0.7966 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001186/0.3033, allocations: 65.7 kB / 0.7966 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001896/0.3035, allocations: 157.3 kB / 0.7968 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.243e-05/0.3036, allocations: 98.83 kB / 0.7969 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004398/0.304, allocations: 270.1 kB / 0.7971 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.3042, allocations: 358.8 kB / 0.7975 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008236/0.305, allocations: 421.3 kB / 0.7979 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009701/0.306, allocations: 0.6989 MB / 0.7986 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001277/0.3073, allocations: 1.187 MB / 0.7997 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.264e-06/0.3073, allocations: 12 kB / 0.7997 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002657/0.3099, allocations: 1.717 MB / 0.8014 GB, free: 9.84 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003344/0.3103, allocations: 485.4 kB / 0.8019 GB, free: 9.273 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.89e-05/0.3103, allocations: 12 kB / 0.8019 GB, free: 9.262 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.661e-05/0.3103, allocations: 12 kB / 0.8019 GB, free: 9.25 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.338e-05/0.3104, allocations: 31.86 kB / 0.8019 GB, free: 9.219 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.359e-05/0.3104, allocations: 19.92 kB / 0.802 GB, free: 9.199 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002326/0.3128, allocations: 423.5 kB / 0.8024 GB, free: 8.785 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001646/0.3129, allocations: 95.92 kB / 0.8024 GB, free: 8.691 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.0003396/0.3133, allocations: 222.2 kB / 0.8027 GB, free: 8.465 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.777e-05/0.3134, allocations: 47.47 kB / 0.8027 GB, free: 8.418 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.442e-05/0.3135, allocations: 42.14 kB / 0.8027 GB, free: 8.375 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.3135, allocations: 8 kB / 0.8028 GB, free: 8.367 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-05/0.3135, allocations: 4 kB / 0.8028 GB, free: 8.363 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.387e-06/0.3135, allocations: 7.984 kB / 0.8028 GB, free: 8.355 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003593/0.3139, allocations: 325.4 kB / 0.8031 GB, free: 7.988 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.3139, allocations: 0 / 0.8031 GB, free: 7.988 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.494e-05/0.3139, allocations: 23.92 kB / 0.8031 GB, free: 7.965 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.604e-06/0.3139, allocations: 7.938 kB / 0.8031 GB, free: 7.957 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.636e-05/0.314, allocations: 19.98 kB / 0.8031 GB, free: 7.938 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.489e-05/0.314, allocations: 11.94 kB / 0.8031 GB, free: 7.926 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.314, allocations: 4 kB / 0.8031 GB, free: 7.922 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006187/0.3146, allocations: 0.5196 MB / 0.8036 GB, free: 7.344 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 7.97e-05/0.3147, allocations: 116.6 kB / 0.8038 GB, free: 7.211 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.664e-05/0.3148, allocations: 19.98 kB / 0.8038 GB, free: 7.191 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.3149, allocations: 15.98 kB / 0.8038 GB, free: 7.176 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.923e-05/0.315, allocations: 63.75 kB / 0.8039 GB, free: 7.113 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.907e-05/0.315, allocations: 27.98 kB / 0.8039 GB, free: 7.086 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001646/0.3152, allocations: 187.1 kB / 0.8041 GB, free: 6.906 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3152, allocations: 0 / 0.8041 GB, free: 6.906 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006244/0.3158, allocations: 200 kB / 0.8043 GB, free: 6.711 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.0001941/0.316, allocations: 143 kB / 0.8044 GB, free: 6.562 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001999/0.318, allocations: 1.761 MB / 0.8061 GB, free: 4.617 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.318, allocations: 4 kB / 0.8061 GB, free: 4.613 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002545/0.3183, allocations: 179.7 kB / 0.8063 GB, free: 4.438 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007143/0.319, allocations: 128.2 kB / 0.8064 GB, free: 4.316 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.3201, allocations: 0.648 MB / 0.807 GB, free: 3.598 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004061/0.3205, allocations: 0.7761 MB / 0.8078 GB, free: 2.797 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001247/0.3206, allocations: 46.95 kB / 0.8078 GB, free: 2.75 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.657e-05/0.3207, allocations: 35.44 kB / 0.8079 GB, free: 2.715 MB / 0.6231 GB Notification: Performance of SimCode: time 4.2e-07/0.3207, allocations: 0 / 0.8079 GB, free: 2.715 MB / 0.6231 GB Notification: Performance of Templates: time 0.02016/0.3409, allocations: 11.96 MB / 0.8196 GB, free: 6.918 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe 2>&1)