Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.009262/0.009262, allocations: 168.9 kB / 16.26 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.552/1.552, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.173/3.173, allocations: 473.4 MB / 0.7469 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005593/0.0005594, allocations: 9.688 kB / 0.9158 GB, free: 33.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4101/0.4106, allocations: 162.2 MB / 1.074 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.001392/0.4121, allocations: 0.6629 MB / 1.075 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00238/0.4145, allocations: 1.506 MB / 1.076 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001546/0.4147, allocations: 4 kB / 1.076 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 6.628e-05/0.4148, allocations: 7.875 kB / 1.076 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002438/0.415, allocations: 43.69 kB / 1.076 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001314/0.4163, allocations: 407.9 kB / 1.077 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005609/0.4169, allocations: 427.1 kB / 1.077 GB, free: 4.5 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001893/0.4171, allocations: 49.62 kB / 1.077 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003522/0.4175, allocations: 147.6 kB / 1.077 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002699/0.4178, allocations: 123.5 kB / 1.077 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001144/0.4179, allocations: 20 kB / 1.077 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001372/0.418, allocations: 31.94 kB / 1.077 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.586e-05/0.4181, allocations: 27.84 kB / 1.078 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002305/0.4183, allocations: 157.2 kB / 1.078 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000573/0.4189, allocations: 462.8 kB / 1.078 GB, free: 3.496 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.4189, allocations: 0 / 1.078 GB, free: 3.496 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.324e-06/0.4189, allocations: 0 / 1.078 GB, free: 3.496 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.254e-05/0.4189, allocations: 0 / 1.078 GB, free: 3.496 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008604/0.4198, allocations: 0.5756 MB / 1.079 GB, free: 2.844 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.4199, allocations: 8.031 kB / 1.079 GB, free: 2.836 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000163/0.42, allocations: 32.66 kB / 1.079 GB, free: 2.805 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002364/0.4203, allocations: 219 kB / 1.079 GB, free: 2.551 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.033e-05/0.4203, allocations: 16.38 kB / 1.079 GB, free: 2.535 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.173e-05/0.4204, allocations: 24.36 kB / 1.079 GB, free: 2.512 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002419/0.4206, allocations: 120.1 kB / 1.079 GB, free: 2.379 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.4207, allocations: 4.188 kB / 1.079 GB, free: 2.375 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.04e-05/0.4207, allocations: 11.94 kB / 1.079 GB, free: 2.363 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.4207, allocations: 0 / 1.079 GB, free: 2.363 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001182/0.4208, allocations: 55.91 kB / 1.079 GB, free: 2.309 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001115/0.4219, allocations: 0.8718 MB / 1.08 GB, free: 1.375 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001733/0.4221, allocations: 118.4 kB / 1.08 GB, free: 1.223 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.053e-05/0.4222, allocations: 55.42 kB / 1.08 GB, free: 1.156 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.658e-06/0.4222, allocations: 3.938 kB / 1.08 GB, free: 1.152 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002983/0.4225, allocations: 182.6 kB / 1.08 GB, free: 0.9492 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.563e-06/0.4225, allocations: 0 / 1.08 GB, free: 0.9492 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0005431/0.4231, allocations: 222 kB / 1.081 GB, free: 0.7266 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001177/0.4232, allocations: 136.5 kB / 1.081 GB, free: 0.5625 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003086/0.4235, allocations: 244.9 kB / 1.081 GB, free: 320 kB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 8.252e-05/0.4236, allocations: 37.7 kB / 1.081 GB, free: 276 kB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/0.4238, allocations: 128.5 kB / 1.081 GB, free: 144 kB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.336e-05/0.4238, allocations: 35.59 kB / 1.081 GB, free: 108 kB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.4239, allocations: 41.7 kB / 1.081 GB, free: 60 kB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002167/0.4242, allocations: 338.7 kB / 1.081 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003342/0.4245, allocations: 140.2 kB / 1.082 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003649/0.4249, allocations: 234.7 kB / 1.082 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004762/0.4254, allocations: 364.9 kB / 1.082 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.4254, allocations: 4 kB / 1.082 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008849/0.4263, allocations: 0.5431 MB / 1.083 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001119/0.4264, allocations: 140.2 kB / 1.083 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.4264, allocations: 4 kB / 1.083 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.4264, allocations: 4 kB / 1.083 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.223e-05/0.4265, allocations: 15.98 kB / 1.083 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.4265, allocations: 7.938 kB / 1.083 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007771/0.4273, allocations: 165.2 kB / 1.083 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-05/0.4274, allocations: 23.97 kB / 1.083 GB, free: 13.94 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,pul3.booPul.y,$PRE.pul3.booPul.y,pul3.y,$whenCondition5,$whenCondition6,pul1.booPul.y,$PRE.pul1.booPul.y,pul1.y,$whenCondition3,$whenCondition4,pul2.booPul.y,$PRE.pul2.booPul.y,pul2.y,$whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,pul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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.0001623/0.4275, allocations: 157.8 kB / 1.083 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.9e-05/0.4276, allocations: 23.8 kB / 1.083 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6e-05/0.4276, allocations: 25.23 kB / 1.083 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.4276, allocations: 0 / 1.083 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.4277, allocations: 4 kB / 1.083 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.4277, allocations: 7.922 kB / 1.083 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002435/0.4279, allocations: 257.5 kB / 1.083 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.4279, allocations: 0 / 1.083 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.722e-05/0.428, allocations: 8 kB / 1.084 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.428, allocations: 0 / 1.084 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.428, allocations: 7.984 kB / 1.084 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.428, allocations: 4 kB / 1.084 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.428, allocations: 4 kB / 1.084 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002721/0.4283, allocations: 219.2 kB / 1.084 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.92e-05/0.4284, allocations: 100.8 kB / 1.084 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.973e-05/0.4284, allocations: 8 kB / 1.084 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.922e-05/0.4284, allocations: 8 kB / 1.084 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.865e-05/0.4285, allocations: 23.91 kB / 1.084 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.959e-06/0.4285, allocations: 7.938 kB / 1.084 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001608/0.4287, allocations: 172.5 kB / 1.084 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.1e-07/0.4287, allocations: 0 / 1.084 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003172/0.429, allocations: 68 kB / 1.084 GB, free: 12.75 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,pul3.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001937/0.4292, allocations: 115.2 kB / 1.084 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000767/0.43, allocations: 0.5209 MB / 1.085 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.43, allocations: 0 / 1.085 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.4301, allocations: 67.89 kB / 1.085 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004652/0.4306, allocations: 63.28 kB / 1.085 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006365/0.4312, allocations: 391.4 kB / 1.085 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/0.4315, allocations: 0.7284 MB / 1.086 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 5.77e-05/0.4316, allocations: 18.3 kB / 1.086 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.16e-05/0.4316, allocations: 23.42 kB / 1.086 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.4317, allocations: 4 kB / 1.086 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of Templates: time 0.009364/0.441, allocations: 4.339 MB / 1.09 GB, free: 6.438 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1)