Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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.Continuous.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001534/0.001534, allocations: 115.5 kB / 16.37 MB, free: 6.012 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.001757/0.001757, allocations: 192.7 kB / 17.31 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.477/1.477, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.89/1.89, allocations: 292.3 MB / 0.5496 GB, free: 17.63 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0025/0.0025, allocations: 63.91 kB / 0.6729 GB, free: 5.832 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.231/0.2335, allocations: 114.6 MB / 0.7848 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse): time 0.001946/0.2355, allocations: 0.7285 MB / 0.7855 GB, free: 2.434 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001297/0.2368, allocations: 1.133 MB / 0.7866 GB, free: 1.285 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.268e-05/0.2369, allocations: 0 / 0.7866 GB, free: 1.285 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.132e-05/0.2369, allocations: 7.922 kB / 0.7866 GB, free: 1.277 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.524e-05/0.237, allocations: 11.88 kB / 0.7867 GB, free: 1.266 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004482/0.2375, allocations: 138.6 kB / 0.7868 GB, free: 1.133 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001732/0.2376, allocations: 131.7 kB / 0.7869 GB, free: 1.004 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.232e-05/0.2377, allocations: 8 kB / 0.7869 GB, free: 0.9961 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.026e-05/0.2378, allocations: 43.91 kB / 0.787 GB, free: 0.9531 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001107/0.2379, allocations: 47.81 kB / 0.787 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.669e-05/0.238, allocations: 16 kB / 0.787 GB, free: 0.8906 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 7.761e-05/0.238, allocations: 27.98 kB / 0.7871 GB, free: 0.8633 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.974e-05/0.2381, allocations: 7.938 kB / 0.7871 GB, free: 0.8555 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 7.221e-05/0.2381, allocations: 39.91 kB / 0.7871 GB, free: 0.8164 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001901/0.2383, allocations: 139.6 kB / 0.7872 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.2384, allocations: 0 / 0.7872 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.903e-06/0.2384, allocations: 0 / 0.7872 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.054e-05/0.2384, allocations: 0 / 0.7872 GB, free: 0.6797 MB / 0.6544 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.0005028/0.2389, allocations: 389 kB / 0.7876 GB, free: 248 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.2389, allocations: 12.03 kB / 0.7876 GB, free: 236 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.151e-05/0.239, allocations: 8.938 kB / 0.7876 GB, free: 228 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3909/0.6299, allocations: 192.1 kB / 0.7878 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.948e-05/0.63, allocations: 2 kB / 0.7878 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.695e-05/0.6301, allocations: 6.312 kB / 0.7878 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001209/0.6302, allocations: 42.11 kB / 0.7879 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.6302, allocations: 2.5 kB / 0.7879 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.6302, allocations: 1.172 kB / 0.7879 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.6303, allocations: 0 / 0.7879 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.227e-05/0.6303, allocations: 17.73 kB / 0.7879 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004198/0.6307, allocations: 333.2 kB / 0.7882 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.716e-05/0.6308, allocations: 32.23 kB / 0.7882 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.606e-05/0.6308, allocations: 13.27 kB / 0.7882 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.132e-05/0.6309, allocations: 0 / 0.7882 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001196/0.631, allocations: 72.44 kB / 0.7883 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.193e-06/0.631, allocations: 0 / 0.7883 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.0001997/0.6312, allocations: 77.02 kB / 0.7884 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.6312, allocations: 55.28 kB / 0.7884 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.894e-05/0.6313, allocations: 126.7 kB / 0.7885 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.6313, allocations: 27.27 kB / 0.7886 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.168e-05/0.6314, allocations: 96.89 kB / 0.7887 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.175e-05/0.6314, allocations: 10.41 kB / 0.7887 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.671e-05/0.6315, allocations: 29.38 kB / 0.7887 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.184e-05/0.6315, allocations: 318.5 kB / 0.789 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.793e-05/0.6316, allocations: 34.31 kB / 0.789 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.05e-05/0.6317, allocations: 57.17 kB / 0.7891 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.479e-05/0.6318, allocations: 93.88 kB / 0.7892 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.6318, allocations: 0 / 0.7892 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002163/0.632, allocations: 169.7 kB / 0.7893 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.079e-05/0.6321, allocations: 42.34 kB / 0.7894 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.6321, allocations: 0.5938 kB / 0.7894 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.6321, allocations: 0.75 kB / 0.7894 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.248e-05/0.6322, allocations: 4.312 kB / 0.7894 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.6322, allocations: 4.688 kB / 0.7894 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001868/0.6324, allocations: 24.36 kB / 0.7894 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.718e-05/0.6324, allocations: 6.688 kB / 0.7894 GB, free: 47.6 MB / 0.6544 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 6.434e-05/0.6325, allocations: 118.1 kB / 0.7895 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.368e-05/0.6325, allocations: 14.16 kB / 0.7896 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.525e-05/0.6325, allocations: 9.953 kB / 0.7896 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.6325, allocations: 0 / 0.7896 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.6325, allocations: 0.6562 kB / 0.7896 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.6325, allocations: 0 / 0.7896 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.113e-05/0.6326, allocations: 175.2 kB / 0.7897 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.6326, allocations: 5.047 kB / 0.7897 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.518e-05/0.6327, allocations: 7.469 kB / 0.7897 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.6327, allocations: 0 / 0.7897 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.615e-06/0.6327, allocations: 1.75 kB / 0.7897 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.6327, allocations: 6.422 kB / 0.7898 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.6327, allocations: 0.7656 kB / 0.7898 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.061e-05/0.6328, allocations: 87.2 kB / 0.7898 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.214e-05/0.6328, allocations: 90.05 kB / 0.7899 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.6328, allocations: 2.875 kB / 0.7899 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.826e-05/0.6329, allocations: 0 / 0.7899 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.66e-05/0.6329, allocations: 7.453 kB / 0.7899 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.932e-06/0.6329, allocations: 2.625 kB / 0.7899 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.145e-05/0.6329, allocations: 103.6 kB / 0.79 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.633, allocations: 0.5 kB / 0.79 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002098/0.6332, allocations: 21.34 kB / 0.7901 GB, free: 47.04 MB / 0.6544 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.00014/0.6333, allocations: 103.7 kB / 0.7902 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000202/0.6335, allocations: 134.7 kB / 0.7903 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.6335, allocations: 3.531 kB / 0.7903 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.812e-05/0.6336, allocations: 17.31 kB / 0.7903 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002309/0.6338, allocations: 23.42 kB / 0.7903 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002737/0.6341, allocations: 167.2 kB / 0.7905 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001012/0.6342, allocations: 0.6866 MB / 0.7912 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.865e-05/0.6342, allocations: 14.97 kB / 0.7912 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of SimCode: time 2.21e-07/0.6342, allocations: 0 / 0.7912 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of Templates: time 0.002627/0.6369, allocations: 1.148 MB / 0.7923 GB, free: 46.02 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe 2>&1)