Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.303/1.303, allocations: 252 MB / 267.9 MB, free: 10.92 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001028/0.001027, allocations: 180.9 kB / 327.6 MB, free: 2.145 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.494/1.494, allocations: 205.4 MB / 0.5785 GB, free: 20.2 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007319/0.0007319, allocations: 88.61 kB / 0.6831 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003629/0.0003629, allocations: 16.97 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1624, allocations: 106.3 MB / 0.9013 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1565/0.3189, allocations: 131.4 MB / 1.03 GB, free: 12.03 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002252/0.3192, allocations: 67.95 kB / 1.03 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002023/0.3212, allocations: 0.7709 MB / 1.03 GB, free: 11.19 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.034e-06/0.3212, allocations: 0 / 1.03 GB, free: 11.19 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.3213, allocations: 0 / 1.03 GB, free: 11.19 MB / 0.6823 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.0004306/0.3217, allocations: 355.5 kB / 1.031 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.3217, allocations: 8.031 kB / 1.031 GB, free: 10.78 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.483e-05/0.3218, allocations: 4.844 kB / 1.031 GB, free: 10.78 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.3219, allocations: 172.3 kB / 1.031 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.3219, allocations: 384 / 1.031 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.281e-05/0.3219, allocations: 4.375 kB / 1.031 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001911/0.3221, allocations: 74.34 kB / 1.031 GB, free: 10.49 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.3221, allocations: 192 / 1.031 GB, free: 10.49 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.3222, allocations: 3.938 kB / 1.031 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.3222, allocations: 0 / 1.031 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001881/0.3224, allocations: 55.95 kB / 1.031 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003707/0.3227, allocations: 257 kB / 1.031 GB, free: 10.13 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002193/0.323, allocations: 82.41 kB / 1.031 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.916e-05/0.3231, allocations: 28.92 kB / 1.031 GB, free: 10.01 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.017e-06/0.3231, allocations: 3.938 kB / 1.031 GB, free: 10 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002418/0.3234, allocations: 91.36 kB / 1.032 GB, free: 9.902 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 1.453e-06/0.3234, allocations: 0 / 1.032 GB, free: 9.902 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4): time 0.0003959/0.3238, allocations: 133.6 kB / 1.032 GB, free: 9.766 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.422e-05/0.3238, allocations: 51.41 kB / 1.032 GB, free: 9.703 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.437e-05/0.3239, allocations: 117.8 kB / 1.032 GB, free: 9.578 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.3239, allocations: 29.7 kB / 1.032 GB, free: 9.543 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.044e-05/0.324, allocations: 80.14 kB / 1.032 GB, free: 9.461 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.528e-05/0.324, allocations: 23.78 kB / 1.032 GB, free: 9.438 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.988e-06/0.324, allocations: 0 / 1.032 GB, free: 9.438 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.941e-05/0.3241, allocations: 310.8 kB / 1.032 GB, free: 9.125 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/0.3242, allocations: 39.97 kB / 1.032 GB, free: 9.086 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.705e-05/0.3243, allocations: 31.98 kB / 1.032 GB, free: 9.055 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001892/0.3245, allocations: 68.81 kB / 1.032 GB, free: 8.984 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-05/0.3246, allocations: 3.938 kB / 1.032 GB, free: 8.98 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002505/0.3248, allocations: 101.6 kB / 1.032 GB, free: 8.875 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.3248, allocations: 8 kB / 1.032 GB, free: 8.867 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.3249, allocations: 4 kB / 1.032 GB, free: 8.863 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.3249, allocations: 0 / 1.032 GB, free: 8.863 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.325, allocations: 19.92 kB / 1.032 GB, free: 8.844 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.325, allocations: 0 / 1.032 GB, free: 8.844 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.243e-05/0.3251, allocations: 11.98 kB / 1.033 GB, free: 8.832 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.3251, allocations: 4 kB / 1.033 GB, free: 8.828 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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 8.379e-05/0.3252, allocations: 117.8 kB / 1.033 GB, free: 8.703 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.228e-05/0.3252, allocations: 11.91 kB / 1.033 GB, free: 8.691 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.816e-05/0.3252, allocations: 7.906 kB / 1.033 GB, free: 8.676 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.3252, allocations: 0 / 1.033 GB, free: 8.676 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.86e-06/0.3253, allocations: 4 kB / 1.033 GB, free: 8.672 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.778e-06/0.3253, allocations: 4 kB / 1.033 GB, free: 8.668 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001074/0.3254, allocations: 169.5 kB / 1.033 GB, free: 8.453 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3254, allocations: 0 / 1.033 GB, free: 8.453 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.099e-05/0.3255, allocations: 11.98 kB / 1.033 GB, free: 8.441 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3255, allocations: 0 / 1.033 GB, free: 8.441 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.3255, allocations: 8 kB / 1.033 GB, free: 8.434 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3255, allocations: 0 / 1.033 GB, free: 8.434 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3255, allocations: 0 / 1.033 GB, free: 8.434 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002547/0.3257, allocations: 129 kB / 1.033 GB, free: 8.289 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.305e-05/0.3258, allocations: 89 kB / 1.033 GB, free: 8.184 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/0.3258, allocations: 0 / 1.033 GB, free: 8.184 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.674e-05/0.3259, allocations: 11.98 kB / 1.033 GB, free: 8.172 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.748e-05/0.326, allocations: 11.98 kB / 1.033 GB, free: 8.16 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.326, allocations: 0 / 1.033 GB, free: 8.16 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.338e-05/0.326, allocations: 95.25 kB / 1.033 GB, free: 8.066 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/0.326, allocations: 3.938 kB / 1.033 GB, free: 8.062 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001755/0.3262, allocations: 8 kB / 1.033 GB, free: 8.055 MB / 0.6823 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,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001279/0.3263, allocations: 103.2 kB / 1.033 GB, free: 7.945 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002547/0.3266, allocations: 79.88 kB / 1.033 GB, free: 7.867 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.3266, allocations: 0 / 1.033 GB, free: 7.867 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001159/0.3267, allocations: 35.97 kB / 1.033 GB, free: 7.832 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001798/0.3269, allocations: 14.34 kB / 1.033 GB, free: 7.82 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003135/0.3273, allocations: 134.6 kB / 1.034 GB, free: 7.656 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002211/0.3275, allocations: 0.6848 MB / 1.034 GB, free: 6.945 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.342e-05/0.3275, allocations: 4.234 kB / 1.034 GB, free: 6.941 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.591e-05/0.3276, allocations: 11.44 kB / 1.034 GB, free: 6.93 MB / 0.6823 GB Notification: Performance of SimCode: time 2.4e-07/0.3276, allocations: 0 / 1.034 GB, free: 6.93 MB / 0.6823 GB Notification: Performance of Templates: time 0.002387/0.33, allocations: 0.7015 MB / 1.035 GB, free: 6.238 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe 2>&1)