Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.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.Reals.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002066/0.002066, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.002544/0.002544, allocations: 193.4 kB / 16.25 MB, free: 6.148 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.653/1.653, allocations: 222.9 MB / 239.9 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.868/2.868, allocations: 472.6 MB / 0.7448 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001862/0.001862, allocations: 62.88 kB / 0.9116 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3417, allocations: 159.9 MB / 1.068 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.002242/0.344, allocations: 0.7813 MB / 1.068 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001463/0.3455, allocations: 1.135 MB / 1.07 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.076e-05/0.3455, allocations: 4 kB / 1.07 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.662e-05/0.3456, allocations: 0 / 1.07 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.672e-05/0.3457, allocations: 15.86 kB / 1.07 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004705/0.3462, allocations: 126.8 kB / 1.07 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001727/0.3463, allocations: 123.8 kB / 1.07 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.3465, allocations: 19.92 kB / 1.07 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.862e-05/0.3466, allocations: 43.91 kB / 1.07 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.714e-05/0.3467, allocations: 35.84 kB / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.611e-05/0.3467, allocations: 12 kB / 1.07 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.345e-05/0.3468, allocations: 23.98 kB / 1.07 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.046e-05/0.3468, allocations: 11.98 kB / 1.07 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.249e-05/0.3469, allocations: 47.8 kB / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001906/0.3471, allocations: 131.7 kB / 1.07 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.3471, allocations: 4 kB / 1.07 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3471, allocations: 0 / 1.07 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.3471, allocations: 0 / 1.07 GB, free: 8.238 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000532/0.3476, allocations: 397.2 kB / 1.071 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.3477, allocations: 8.031 kB / 1.071 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.658e-05/0.3477, allocations: 8.938 kB / 1.071 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.3479, allocations: 176.2 kB / 1.071 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.3479, allocations: 4.375 kB / 1.071 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.266e-05/0.3479, allocations: 12.36 kB / 1.071 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.867e-05/0.348, allocations: 42.25 kB / 1.071 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.443e-06/0.3481, allocations: 192 / 1.071 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.3481, allocations: 3.938 kB / 1.071 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.3481, allocations: 0 / 1.071 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.935e-05/0.3481, allocations: 23.92 kB / 1.071 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004274/0.3486, allocations: 328.7 kB / 1.071 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.192e-05/0.3487, allocations: 34.52 kB / 1.071 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.647e-05/0.3487, allocations: 16.91 kB / 1.071 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.055e-05/0.3487, allocations: 0 / 1.071 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001583/0.3489, allocations: 71.33 kB / 1.071 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.372e-06/0.3489, allocations: 0 / 1.071 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0002061/0.3491, allocations: 69.69 kB / 1.071 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.882e-05/0.3491, allocations: 55.41 kB / 1.071 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.3493, allocations: 129.7 kB / 1.071 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.846e-05/0.3493, allocations: 29.7 kB / 1.072 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.111e-05/0.3494, allocations: 88.14 kB / 1.072 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.399e-05/0.3494, allocations: 7.891 kB / 1.072 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.456e-05/0.3495, allocations: 29.7 kB / 1.072 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.3496, allocations: 318.8 kB / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.933e-05/0.3497, allocations: 39.92 kB / 1.072 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001027/0.3498, allocations: 58.55 kB / 1.072 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001202/0.3499, allocations: 92.2 kB / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3499, allocations: 0 / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000279/0.3502, allocations: 175.1 kB / 1.072 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.595e-05/0.3502, allocations: 33.7 kB / 1.072 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.3503, allocations: 4.062 kB / 1.072 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.3503, allocations: 0 / 1.072 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.101e-05/0.3503, allocations: 11.94 kB / 1.072 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.407e-06/0.3503, allocations: 7.984 kB / 1.072 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002051/0.3506, allocations: 27.97 kB / 1.072 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.971e-05/0.3506, allocations: 4 kB / 1.072 GB, free: 5.707 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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.0001007/0.3507, allocations: 121.8 kB / 1.072 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.47e-05/0.3507, allocations: 11.89 kB / 1.072 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.379e-05/0.3507, allocations: 7.906 kB / 1.073 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.3508, allocations: 0 / 1.073 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.3508, allocations: 0 / 1.073 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3508, allocations: 0 / 1.073 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001373/0.3509, allocations: 181.6 kB / 1.073 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3509, allocations: 0 / 1.073 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.424e-05/0.3509, allocations: 0 / 1.073 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3509, allocations: 0 / 1.073 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.094e-06/0.351, allocations: 4 kB / 1.073 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.351, allocations: 0 / 1.073 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.351, allocations: 4 kB / 1.073 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001272/0.3511, allocations: 93 kB / 1.073 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.901e-05/0.3511, allocations: 85 kB / 1.073 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.447e-05/0.3512, allocations: 0 / 1.073 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.987e-05/0.3512, allocations: 0 / 1.073 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.003e-05/0.3512, allocations: 4.281 kB / 1.073 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.3512, allocations: 0 / 1.073 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.913e-05/0.3513, allocations: 99.27 kB / 1.073 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3513, allocations: 4 kB / 1.073 GB, free: 5 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002287/0.3515, allocations: 16 kB / 1.073 GB, free: 4.984 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002143/0.3518, allocations: 111.2 kB / 1.073 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002354/0.352, allocations: 139.3 kB / 1.073 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.352, allocations: 0 / 1.073 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.617e-05/0.3521, allocations: 15.98 kB / 1.073 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002395/0.3523, allocations: 24 kB / 1.073 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003341/0.3526, allocations: 158 kB / 1.073 GB, free: 4.5 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002438/0.3529, allocations: 0.6923 MB / 1.074 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.401e-05/0.3529, allocations: 0 / 1.074 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.871e-05/0.353, allocations: 19.44 kB / 1.074 GB, free: 3.762 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.353, allocations: 0 / 1.074 GB, free: 3.762 MB / 0.8262 GB Notification: Performance of Templates: time 0.003747/0.3567, allocations: 1.335 MB / 1.075 GB, free: 2.449 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1)