Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.257/2.257, allocations: 391.2 MB / 407 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 191.4 kB / 499.1 MB, free: 4.68 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.607/1.607, allocations: 222.9 MB / 0.7948 GB, free: 15.82 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 99.7 kB / 0.9329 GB, free: 7.121 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 54.72 kB / 1.081 GB, free: 217.9 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.32, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse): time 0.002252/0.3223, allocations: 0.7893 MB / 1.219 GB, free: 116.5 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001269/0.3236, allocations: 1.133 MB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.153e-05/0.3236, allocations: 8 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.116e-05/0.3237, allocations: 0 / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 9.17e-05/0.3238, allocations: 7.922 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004079/0.3242, allocations: 115 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001169/0.3243, allocations: 111.8 kB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.3244, allocations: 11.98 kB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 6.525e-05/0.3245, allocations: 35.86 kB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 7.891e-05/0.3246, allocations: 35.88 kB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.381e-05/0.3246, allocations: 12 kB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 8.365e-05/0.3247, allocations: 19.98 kB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.096e-05/0.3247, allocations: 11.94 kB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 6.055e-05/0.3248, allocations: 31.91 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001532/0.3249, allocations: 119.6 kB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.325, allocations: 0 / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of FrontEnd: time 9.42e-07/0.325, allocations: 0 / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.325, allocations: 0 / 1.22 GB, free: 114.8 MB / 0.823 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.0004791/0.3255, allocations: 399 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.3255, allocations: 11.98 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.356e-05/0.3256, allocations: 16.84 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.3257, allocations: 188.2 kB / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.3257, allocations: 4.375 kB / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.3257, allocations: 8.375 kB / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.497e-05/0.3258, allocations: 38.25 kB / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.3258, allocations: 8.125 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.3258, allocations: 3.938 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.3258, allocations: 0 / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.245e-05/0.3259, allocations: 12 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003742/0.3263, allocations: 332.7 kB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.798e-05/0.3263, allocations: 34.5 kB / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.278e-05/0.3264, allocations: 12.92 kB / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.065e-05/0.3264, allocations: 0 / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001617/0.3266, allocations: 67.33 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.3266, allocations: 4 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=4): time 0.0001967/0.3268, allocations: 81.52 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.771e-05/0.3268, allocations: 55.41 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.378e-05/0.3269, allocations: 117.8 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.3269, allocations: 33.7 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.86e-05/0.327, allocations: 92.12 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.126e-05/0.327, allocations: 3.906 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.516e-05/0.327, allocations: 29.7 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.344e-05/0.3271, allocations: 318.8 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.306e-05/0.3272, allocations: 39.97 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.457e-05/0.3273, allocations: 54.56 kB / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.398e-05/0.3274, allocations: 96.14 kB / 1.222 GB, free: 112.5 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3274, allocations: 0 / 1.222 GB, free: 112.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002125/0.3276, allocations: 167.2 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.85e-05/0.3276, allocations: 37.69 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.3276, allocations: 4 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.3277, allocations: 0 / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.894e-05/0.3277, allocations: 4 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.3277, allocations: 0 / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001918/0.3279, allocations: 31.84 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.936e-05/0.328, allocations: 8 kB / 1.223 GB, free: 112.3 MB / 0.823 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 7.195e-05/0.328, allocations: 130.5 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.087e-05/0.3281, allocations: 3.906 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.454e-05/0.3281, allocations: 7.906 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.3281, allocations: 0 / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.3281, allocations: 4.062 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.3281, allocations: 0 / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.132e-05/0.3282, allocations: 185.8 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3282, allocations: 0 / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.401e-05/0.3282, allocations: 0 / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.3282, allocations: 4 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.3282, allocations: 3.984 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.3282, allocations: 7.938 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.3282, allocations: 0 / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002507/0.3285, allocations: 0.6473 MB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.436e-05/0.3285, allocations: 85.02 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.3286, allocations: 0 / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.681e-05/0.3286, allocations: 4 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.515e-05/0.3286, allocations: 11.92 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.3286, allocations: 4 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of sorting global known variables: time 4.177e-05/0.3287, allocations: 99.64 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of sort global known variables: time 1e-07/0.3287, allocations: 0 / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002942/0.329, allocations: 20 kB / 1.224 GB, free: 110.9 MB / 0.823 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.0001559/0.3292, allocations: 107.2 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.000199/0.3294, allocations: 139.4 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3294, allocations: 0 / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 3.028e-05/0.3294, allocations: 19.94 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002231/0.3297, allocations: 17.19 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003146/0.33, allocations: 262.9 kB / 1.224 GB, free: 110.3 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001127/0.3301, allocations: 0.6848 MB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 2.797e-05/0.3301, allocations: 4 kB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.561e-05/0.3302, allocations: 11.44 kB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of SimCode: time 2.1e-07/0.3302, allocations: 0 / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of Templates: time 0.00322/0.3334, allocations: 1.321 MB / 1.226 GB, free: 108.3 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe 2>&1)