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.001144/0.001144, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 188.6 kB / 16.62 MB, free: 6.582 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.519/1.519, allocations: 205.1 MB / 222.5 MB, free: 4.535 MB / 174.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.837/1.837, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.002272/0.002272, allocations: 74.31 kB / 0.6723 GB, free: 26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2577, allocations: 114.6 MB / 0.7841 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse): time 0.002126/0.2599, allocations: 0.736 MB / 0.7849 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001442/0.2614, allocations: 1.129 MB / 0.786 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.938e-05/0.2614, allocations: 4 kB / 0.786 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.18e-05/0.2615, allocations: 3.938 kB / 0.786 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.676e-05/0.2616, allocations: 11.92 kB / 0.786 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004627/0.262, allocations: 130.6 kB / 0.7861 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001981/0.2623, allocations: 131.8 kB / 0.7862 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.689e-05/0.2623, allocations: 8 kB / 0.7862 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.141e-05/0.2624, allocations: 47.84 kB / 0.7863 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.2625, allocations: 43.81 kB / 0.7863 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.598e-05/0.2626, allocations: 16 kB / 0.7863 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.598e-05/0.2627, allocations: 27.98 kB / 0.7864 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.915e-05/0.2627, allocations: 8 kB / 0.7864 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.405e-05/0.2628, allocations: 39.86 kB / 0.7864 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001952/0.263, allocations: 143.5 kB / 0.7866 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.263, allocations: 0 / 0.7866 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.993e-06/0.263, allocations: 0 / 0.7866 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.426e-06/0.263, allocations: 0 / 0.7866 GB, free: 10.23 MB / 0.6075 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.0005146/0.2635, allocations: 397 kB / 0.7869 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.2636, allocations: 8.031 kB / 0.7869 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.132e-05/0.2636, allocations: 8.844 kB / 0.787 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.2638, allocations: 180.4 kB / 0.7871 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.2638, allocations: 384 / 0.7871 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.553e-05/0.2638, allocations: 12.38 kB / 0.7871 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.453e-05/0.2639, allocations: 42.25 kB / 0.7872 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.2639, allocations: 192 / 0.7872 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.264, allocations: 7.922 kB / 0.7872 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.264, allocations: 0 / 0.7872 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.417e-05/0.264, allocations: 19.88 kB / 0.7872 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004184/0.2644, allocations: 332.7 kB / 0.7875 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.272e-05/0.2645, allocations: 35.56 kB / 0.7876 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.609e-05/0.2645, allocations: 12.92 kB / 0.7876 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.718e-06/0.2646, allocations: 0 / 0.7876 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001354/0.2647, allocations: 63.33 kB / 0.7876 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.373e-06/0.2647, allocations: 0 / 0.7876 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0002137/0.2649, allocations: 77.59 kB / 0.7877 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.265, allocations: 63.39 kB / 0.7878 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.2651, allocations: 117.8 kB / 0.7879 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.2651, allocations: 29.7 kB / 0.7879 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.442e-05/0.2652, allocations: 92.12 kB / 0.788 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.587e-05/0.2652, allocations: 7.906 kB / 0.788 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.341e-05/0.2653, allocations: 33.64 kB / 0.788 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.2654, allocations: 314.8 kB / 0.7883 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.647e-05/0.2655, allocations: 43.97 kB / 0.7884 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.85e-05/0.2656, allocations: 58.5 kB / 0.7884 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.2658, allocations: 92.2 kB / 0.7885 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2658, allocations: 0 / 0.7885 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002713/0.2661, allocations: 163.2 kB / 0.7887 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.771e-05/0.2661, allocations: 37.77 kB / 0.7887 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.2661, allocations: 4 kB / 0.7887 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.2662, allocations: 3.984 kB / 0.7887 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.026e-05/0.2662, allocations: 7.938 kB / 0.7887 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.156e-05/0.2662, allocations: 0 / 0.7887 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001905/0.2664, allocations: 28.03 kB / 0.7887 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.075e-05/0.2665, allocations: 4 kB / 0.7888 GB, free: 7.711 MB / 0.6075 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 8.981e-05/0.2666, allocations: 126.4 kB / 0.7889 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.478e-05/0.2666, allocations: 7.891 kB / 0.7889 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.79e-05/0.2666, allocations: 11.91 kB / 0.7889 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.2666, allocations: 0 / 0.7889 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.2666, allocations: 0 / 0.7889 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.2666, allocations: 0 / 0.7889 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001286/0.2668, allocations: 181.6 kB / 0.7891 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.2668, allocations: 0 / 0.7891 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.448e-05/0.2668, allocations: 0 / 0.7891 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.2668, allocations: 0 / 0.7891 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.2668, allocations: 0 / 0.7891 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.2668, allocations: 11.94 kB / 0.7891 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2668, allocations: 0 / 0.7891 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001244/0.267, allocations: 92.91 kB / 0.7892 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.22e-05/0.267, allocations: 89.03 kB / 0.7892 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.267, allocations: 288 / 0.7893 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.074e-05/0.2671, allocations: 4 kB / 0.7893 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.06e-05/0.2671, allocations: 4 kB / 0.7893 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.2671, allocations: 0 / 0.7893 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.412e-05/0.2672, allocations: 111.6 kB / 0.7894 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2672, allocations: 0 / 0.7894 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002156/0.2674, allocations: 16 kB / 0.7894 GB, free: 6.965 MB / 0.6075 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.0001417/0.2676, allocations: 107.2 kB / 0.7895 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002391/0.2678, allocations: 139.3 kB / 0.7896 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2678, allocations: 0 / 0.7896 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.514e-05/0.2679, allocations: 15.98 kB / 0.7896 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002221/0.2681, allocations: 24.12 kB / 0.7897 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003136/0.2684, allocations: 152.9 kB / 0.7898 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003551/0.2688, allocations: 0.6884 MB / 0.7905 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.446e-05/0.2688, allocations: 4 kB / 0.7905 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.968e-05/0.2688, allocations: 11.44 kB / 0.7905 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of SimCode: time 5.31e-07/0.2688, allocations: 4 kB / 0.7905 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of Templates: time 0.003767/0.2726, allocations: 1.343 MB / 0.7918 GB, free: 4.434 MB / 0.6075 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)