Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.779/1.779, allocations: 297.4 MB / 312.6 MB, free: 2.965 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 194 kB / 382.3 MB, free: 14.86 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.6/1.6, allocations: 225.7 MB / 0.6617 GB, free: 7.254 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008794/0.0008794, allocations: 94.23 kB / 0.7789 GB, free: 46.8 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004551/0.0004552, allocations: 8.938 kB / 0.9059 GB, free: 4.902 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.821/0.8215, allocations: 119.2 MB / 1.022 GB, free: 57.77 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse): time 0.001334/0.8229, allocations: 0.8433 MB / 1.023 GB, free: 57.44 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.003151/0.826, allocations: 3.566 MB / 1.027 GB, free: 54.59 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001452/0.8262, allocations: 2.75 kB / 1.027 GB, free: 54.59 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 4.036e-05/0.8262, allocations: 18.61 kB / 1.027 GB, free: 54.58 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002136/0.8265, allocations: 74.84 kB / 1.027 GB, free: 54.53 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003151/0.8296, allocations: 1.335 MB / 1.028 GB, free: 53.83 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001085/0.8307, allocations: 1.049 MB / 1.029 GB, free: 53.44 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.989e-05/0.8308, allocations: 20.72 kB / 1.029 GB, free: 53.43 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004317/0.8312, allocations: 420.1 kB / 1.029 GB, free: 53.32 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003407/0.8316, allocations: 337.6 kB / 1.03 GB, free: 53.19 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001537/0.8318, allocations: 59.22 kB / 1.03 GB, free: 53.19 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002141/0.832, allocations: 74.88 kB / 1.03 GB, free: 53.19 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 5.93e-05/0.832, allocations: 51.78 kB / 1.03 GB, free: 53.17 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000421/0.8325, allocations: 377.5 kB / 1.03 GB, free: 53 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000936/0.8334, allocations: 0.9071 MB / 1.031 GB, free: 52.78 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.8334, allocations: 2.25 kB / 1.031 GB, free: 52.78 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.435e-06/0.8334, allocations: 0 / 1.031 GB, free: 52.78 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.8334, allocations: 0 / 1.031 GB, free: 52.78 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0009368/0.8344, allocations: 0.9983 MB / 1.032 GB, free: 51.79 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.8344, allocations: 10.78 kB / 1.032 GB, free: 51.79 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001632/0.8346, allocations: 67.38 kB / 1.032 GB, free: 51.77 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.8348, allocations: 219.7 kB / 1.032 GB, free: 51.54 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.783e-05/0.8348, allocations: 41.28 kB / 1.032 GB, free: 51.54 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000154/0.835, allocations: 68.06 kB / 1.033 GB, free: 51.53 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002636/0.8353, allocations: 209.2 kB / 1.033 GB, free: 51.35 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.8353, allocations: 8.906 kB / 1.033 GB, free: 51.34 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.145e-05/0.8353, allocations: 13.09 kB / 1.033 GB, free: 51.34 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.8353, allocations: 5.938 kB / 1.033 GB, free: 51.34 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001021/0.8354, allocations: 66.86 kB / 1.033 GB, free: 51.31 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007443/0.8362, allocations: 0.8419 MB / 1.034 GB, free: 50.81 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002253/0.8364, allocations: 329.9 kB / 1.034 GB, free: 50.41 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001368/0.8365, allocations: 134 kB / 1.034 GB, free: 50.27 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.154e-05/0.8366, allocations: 9.75 kB / 1.034 GB, free: 50.27 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005524/0.8371, allocations: 464.1 kB / 1.035 GB, free: 49.99 MB / 0.698 GB Notification: Performance of pre-optimization done (n=45): time 2.004e-06/0.8371, allocations: 11.88 kB / 1.035 GB, free: 49.98 MB / 0.698 GB Notification: Performance of matching and sorting (n=45): time 0.0009318/0.8381, allocations: 0.5578 MB / 1.035 GB, free: 49.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001567/0.8382, allocations: 433.5 kB / 1.036 GB, free: 49.29 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002476/0.8385, allocations: 296.7 kB / 1.036 GB, free: 49.12 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.000106/0.8386, allocations: 65.41 kB / 1.036 GB, free: 49.07 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001563/0.8388, allocations: 157.5 kB / 1.036 GB, free: 48.96 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.843e-05/0.8389, allocations: 103.7 kB / 1.036 GB, free: 48.88 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.839, allocations: 38.67 kB / 1.036 GB, free: 48.86 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.377e-05/0.8391, allocations: 349 kB / 1.036 GB, free: 48.54 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007954/0.8399, allocations: 420.3 kB / 1.037 GB, free: 48.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008844/0.8408, allocations: 0.7004 MB / 1.038 GB, free: 47.88 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001088/0.8419, allocations: 1.19 MB / 1.039 GB, free: 46.79 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.702e-06/0.8419, allocations: 3.031 kB / 1.039 GB, free: 46.79 MB / 0.698 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002547/0.8444, allocations: 1.712 MB / 1.04 GB, free: 45.88 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001908/0.8446, allocations: 486.5 kB / 1.041 GB, free: 45.37 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.671e-05/0.8446, allocations: 9.969 kB / 1.041 GB, free: 45.37 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.195e-05/0.8447, allocations: 13.59 kB / 1.041 GB, free: 45.37 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.242e-05/0.8448, allocations: 33.33 kB / 1.041 GB, free: 45.36 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.3e-05/0.8448, allocations: 27.56 kB / 1.041 GB, free: 45.35 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002425/0.8472, allocations: 0.5706 MB / 1.042 GB, free: 45.28 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001942/0.8474, allocations: 95.83 kB / 1.042 GB, free: 45.27 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 60 ($PRE.booPul_c5.y,booPul_c5.y,$whenCondition29,$whenCondition30,$PRE.booPul_b5.y,booPul_b5.y,$whenCondition27,$whenCondition28,$PRE.booPul_a5.y,booPul_a5.y,$whenCondition25,$whenCondition26,$PRE.booPul_c4.y,booPul_c4.y,$whenCondition23,$whenCondition24,$PRE.booPul_b4.y,booPul_b4.y,$whenCondition21,$whenCondition22,$PRE.booPul_a4.y,booPul_a4.y,$whenCondition19,$whenCondition20,$PRE.booPul_c3.y,booPul_c3.y,$whenCondition17,$whenCondition18,$PRE.booPul_b3.y,booPul_b3.y,$whenCondition15,$whenCondition16,$PRE.booPul_a3.y,booPul_a3.y,$whenCondition13,$whenCondition14,$PRE.booPul_c2.y,booPul_c2.y,$whenCondition11,$whenCondition12,$PRE.booPul_b2.y,booPul_b2.y,$whenCondition9,$whenCondition10,$PRE.booPul_a2.y,booPul_a2.y,$whenCondition7,$whenCondition8,$PRE.booPul_c1.y,booPul_c1.y,$whenCondition5,$whenCondition6,$PRE.booPul_b1.y,booPul_b1.y,$whenCondition3,$whenCondition4,$PRE.booPul_a1.y,booPul_a1.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 15 * 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 0.0003965/0.8478, allocations: 211.7 kB / 1.042 GB, free: 45.12 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/0.8479, allocations: 46.52 kB / 1.042 GB, free: 45.09 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.195e-05/0.848, allocations: 40.89 kB / 1.042 GB, free: 45.07 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.405e-05/0.8481, allocations: 9.25 kB / 1.042 GB, free: 45.07 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.746e-05/0.8481, allocations: 4.594 kB / 1.042 GB, free: 45.07 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/0.8481, allocations: 4.219 kB / 1.042 GB, free: 45.07 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003845/0.8485, allocations: 335.6 kB / 1.042 GB, free: 44.81 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.8485, allocations: 2.281 kB / 1.042 GB, free: 44.81 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.961e-05/0.8485, allocations: 25.31 kB / 1.042 GB, free: 44.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.257e-06/0.8486, allocations: 11.31 kB / 1.042 GB, free: 44.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.699e-05/0.8486, allocations: 15.33 kB / 1.042 GB, free: 44.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.037e-06/0.8486, allocations: 13.41 kB / 1.042 GB, free: 44.79 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/0.8486, allocations: 7.75 kB / 1.042 GB, free: 44.79 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006437/0.8493, allocations: 0.5067 MB / 1.043 GB, free: 44.49 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.39e-05/0.8493, allocations: 118.5 kB / 1.043 GB, free: 44.37 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.909e-05/0.8494, allocations: 16.75 kB / 1.043 GB, free: 44.36 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.8495, allocations: 21.48 kB / 1.043 GB, free: 44.35 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.8496, allocations: 59.33 kB / 1.043 GB, free: 44.33 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.818e-05/0.8497, allocations: 29.36 kB / 1.043 GB, free: 44.32 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001681/0.8498, allocations: 186 kB / 1.043 GB, free: 44.22 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8498, allocations: 0 / 1.043 GB, free: 44.22 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007022/0.8505, allocations: 194.5 kB / 1.043 GB, free: 44.21 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition29,$whenCondition30,booPul_c5.y,$whenCondition27,$whenCondition28,booPul_b5.y,$whenCondition25,$whenCondition26,booPul_a5.y,$whenCondition23,$whenCondition24,booPul_c4.y,$whenCondition21,$whenCondition22,booPul_b4.y,$whenCondition19,$whenCondition20,booPul_a4.y,$whenCondition17,$whenCondition18,booPul_c3.y,$whenCondition15,$whenCondition16,booPul_b3.y,$whenCondition13,$whenCondition14,booPul_a3.y,$whenCondition11,$whenCondition12,booPul_c2.y,$whenCondition9,$whenCondition10,booPul_b2.y,$whenCondition7,$whenCondition8,booPul_a2.y,$whenCondition5,$whenCondition6,booPul_c1.y,$whenCondition3,$whenCondition4,booPul_b1.y,$whenCondition1,$whenCondition2,booPul_a1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 15 * 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.0002309/0.8508, allocations: 148.8 kB / 1.044 GB, free: 44.09 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001765/0.8526, allocations: 1.742 MB / 1.045 GB, free: 42.79 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.8526, allocations: 2.594 kB / 1.045 GB, free: 42.79 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002582/0.8529, allocations: 180 kB / 1.045 GB, free: 42.73 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007815/0.8536, allocations: 117.4 kB / 1.046 GB, free: 42.71 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.8547, allocations: 0.7031 MB / 1.046 GB, free: 42.21 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002527/0.8549, allocations: 0.7781 MB / 1.047 GB, free: 41.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000129/0.8551, allocations: 47.97 kB / 1.047 GB, free: 41.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.993e-05/0.8551, allocations: 32.91 kB / 1.047 GB, free: 41.49 MB / 0.698 GB Notification: Performance of SimCode: time 2.01e-07/0.8551, allocations: 0 / 1.047 GB, free: 41.49 MB / 0.698 GB Notification: Performance of Templates: time 0.0195/0.8746, allocations: 11.37 MB / 1.058 GB, free: 40.57 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe 2>&1)