Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.262/2.262, allocations: 251.3 MB / 266.2 MB, free: 11.5 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00135/0.001349, allocations: 182.7 kB / 325.8 MB, free: 2.785 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.863/2.863, allocations: 205.4 MB / 0.5767 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008732/0.0008727, allocations: 88.92 kB / 0.6812 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005195/0.0005198, allocations: 16.16 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.2109, allocations: 106.3 MB / 0.8991 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse): time 0.001638/0.2126, allocations: 1.061 MB / 0.9001 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000393/0.2131, allocations: 125.7 kB / 0.9002 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.796e-05/0.2131, allocations: 0 / 0.9002 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.086e-05/0.2132, allocations: 3.938 kB / 0.9002 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001168/0.2133, allocations: 8 kB / 0.9002 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001661/0.2135, allocations: 19.97 kB / 0.9003 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.353e-05/0.2136, allocations: 43.84 kB / 0.9003 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.595e-05/0.2136, allocations: 0 / 0.9003 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.494e-05/0.2137, allocations: 19.86 kB / 0.9003 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.81e-05/0.2138, allocations: 15.92 kB / 0.9003 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.408e-05/0.2138, allocations: 4 kB / 0.9003 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.357e-05/0.2138, allocations: 0 / 0.9003 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.948e-05/0.2139, allocations: 11.98 kB / 0.9003 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.152e-05/0.2139, allocations: 25.7 kB / 0.9004 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.438e-05/0.214, allocations: 31.92 kB / 0.9004 GB, free: 64 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.214, allocations: 4 kB / 0.9004 GB, free: 64 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.934e-06/0.214, allocations: 0 / 0.9004 GB, free: 64 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.214, allocations: 0 / 0.9004 GB, free: 64 MB / 0.6042 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.0006402/0.2147, allocations: 355.7 kB / 0.9007 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.2147, allocations: 8.031 kB / 0.9007 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.379e-05/0.2148, allocations: 8.844 kB / 0.9008 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.2149, allocations: 172.3 kB / 0.9009 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.2149, allocations: 4.375 kB / 0.9009 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.702e-05/0.215, allocations: 384 / 0.9009 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002939/0.2153, allocations: 70.22 kB / 0.901 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.2153, allocations: 4.125 kB / 0.901 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.2153, allocations: 3.938 kB / 0.901 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.2153, allocations: 0 / 0.901 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000345/0.2157, allocations: 51.95 kB / 0.9011 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004123/0.2161, allocations: 261 kB / 0.9013 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003786/0.2165, allocations: 78.41 kB / 0.9014 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000185/0.2167, allocations: 36.92 kB / 0.9014 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.179e-05/0.2167, allocations: 0 / 0.9014 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003315/0.2171, allocations: 87.34 kB / 0.9015 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 2.365e-06/0.2171, allocations: 0 / 0.9015 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0006792/0.2178, allocations: 133.5 kB / 0.9016 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.538e-05/0.2178, allocations: 51.41 kB / 0.9017 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.437e-05/0.2179, allocations: 105.8 kB / 0.9018 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.218, allocations: 33.7 kB / 0.9018 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.171e-05/0.218, allocations: 84.12 kB / 0.9019 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.75e-05/0.218, allocations: 7.906 kB / 0.9019 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.066e-06/0.218, allocations: 4 kB / 0.9019 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.664e-05/0.2181, allocations: 322.8 kB / 0.9022 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001957/0.2183, allocations: 31.97 kB / 0.9022 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001893/0.2185, allocations: 31.97 kB / 0.9023 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001941/0.2187, allocations: 35.98 kB / 0.9023 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.2188, allocations: 3.938 kB / 0.9023 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000446/0.2192, allocations: 117.9 kB / 0.9024 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.2192, allocations: 4 kB / 0.9024 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.2193, allocations: 7.938 kB / 0.9024 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.2193, allocations: 0 / 0.9024 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000183/0.2195, allocations: 15.98 kB / 0.9024 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.2195, allocations: 4.062 kB / 0.9024 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001612/0.2197, allocations: 15.92 kB / 0.9025 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.622e-05/0.2197, allocations: 4 kB / 0.9025 GB, free: 61.67 MB / 0.6042 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.384e-05/0.2198, allocations: 117.8 kB / 0.9026 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.657e-05/0.2198, allocations: 7.906 kB / 0.9026 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.154e-05/0.2199, allocations: 11.89 kB / 0.9026 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.2199, allocations: 4 kB / 0.9026 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.2199, allocations: 0 / 0.9026 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.2199, allocations: 3.938 kB / 0.9026 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001102/0.22, allocations: 161.6 kB / 0.9028 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.22, allocations: 0 / 0.9028 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.925e-05/0.2201, allocations: 15.98 kB / 0.9028 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.2202, allocations: 0 / 0.9028 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.2202, allocations: 8 kB / 0.9028 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.2202, allocations: 3.938 kB / 0.9028 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.2202, allocations: 0 / 0.9028 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004339/0.2206, allocations: 121 kB / 0.9029 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.255e-05/0.2207, allocations: 85.02 kB / 0.903 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.609e-05/0.2207, allocations: 3.984 kB / 0.903 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/0.2209, allocations: 11.98 kB / 0.903 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.355e-05/0.221, allocations: 11.98 kB / 0.903 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.221, allocations: 8 kB / 0.903 GB, free: 61 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.368e-05/0.2211, allocations: 83.28 kB / 0.9031 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.51e-07/0.2211, allocations: 0 / 0.9031 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002482/0.2213, allocations: 11.98 kB / 0.9031 GB, free: 60.91 MB / 0.6042 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.0001263/0.2215, allocations: 103.2 kB / 0.9032 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000455/0.2219, allocations: 75.88 kB / 0.9033 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.2219, allocations: 4 kB / 0.9033 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000208/0.2222, allocations: 31.98 kB / 0.9033 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002691/0.2224, allocations: 17.17 kB / 0.9033 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004234/0.2229, allocations: 133 kB / 0.9035 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001245/0.223, allocations: 0.6809 MB / 0.9041 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.326e-05/0.2231, allocations: 4 kB / 0.9041 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.397e-05/0.2231, allocations: 15.36 kB / 0.9041 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of SimCode: time 7.31e-07/0.2232, allocations: 7.875 kB / 0.9041 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of Templates: time 0.003498/0.2267, allocations: 0.6972 MB / 0.9048 GB, free: 59.09 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe 2>&1)