Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.849/1.849, allocations: 306.1 MB / 321.4 MB, free: 10.76 MB / 250.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.001387/0.001387, allocations: 171.5 kB / 393.1 MB, free: 4.09 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.561/1.561, allocations: 225.7 MB / 0.6743 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009883/0.0009883, allocations: 102.9 kB / 0.7935 GB, free: 39.97 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004944/0.0004941, allocations: 8 kB / 0.9225 GB, free: 8.621 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7072/0.7077, allocations: 121.3 MB / 1.041 GB, free: 58.16 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse): time 0.001356/0.7092, allocations: 0.8464 MB / 1.042 GB, free: 57.65 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00342/0.7126, allocations: 3.556 MB / 1.045 GB, free: 54.56 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001126/0.7127, allocations: 3.812 kB / 1.045 GB, free: 54.56 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 4.092e-05/0.7128, allocations: 12.8 kB / 1.045 GB, free: 54.55 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001814/0.713, allocations: 69.77 kB / 1.045 GB, free: 54.5 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003178/0.7161, allocations: 1.332 MB / 1.047 GB, free: 53.8 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001015/0.7172, allocations: 1.046 MB / 1.048 GB, free: 53.41 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.336e-05/0.7173, allocations: 26.16 kB / 1.048 GB, free: 53.41 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004987/0.7178, allocations: 429.5 kB / 1.048 GB, free: 53.29 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003525/0.7181, allocations: 331.1 kB / 1.048 GB, free: 53.17 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001441/0.7183, allocations: 60.47 kB / 1.048 GB, free: 53.17 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002079/0.7185, allocations: 73.34 kB / 1.048 GB, free: 53.17 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 6.691e-05/0.7186, allocations: 47.59 kB / 1.049 GB, free: 53.15 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000391/0.719, allocations: 375.4 kB / 1.049 GB, free: 52.99 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0008497/0.7198, allocations: 0.9104 MB / 1.05 GB, free: 52.76 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.7198, allocations: 2.844 kB / 1.05 GB, free: 52.76 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.425e-06/0.7198, allocations: 0 / 1.05 GB, free: 52.76 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.646e-05/0.7199, allocations: 0 / 1.05 GB, free: 52.76 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.000885/0.7208, allocations: 1.002 MB / 1.051 GB, free: 51.77 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.7208, allocations: 9.469 kB / 1.051 GB, free: 51.77 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001625/0.721, allocations: 67.75 kB / 1.051 GB, free: 51.76 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.7211, allocations: 221.8 kB / 1.051 GB, free: 51.52 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.268e-05/0.7212, allocations: 36.44 kB / 1.051 GB, free: 51.52 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001508/0.7213, allocations: 67.16 kB / 1.051 GB, free: 51.51 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002565/0.7216, allocations: 211.9 kB / 1.051 GB, free: 51.33 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.7216, allocations: 6.969 kB / 1.051 GB, free: 51.32 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.391e-05/0.7216, allocations: 10.16 kB / 1.051 GB, free: 51.32 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.7216, allocations: 4.562 kB / 1.051 GB, free: 51.32 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001018/0.7218, allocations: 69.28 kB / 1.051 GB, free: 51.29 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008116/0.7226, allocations: 0.8372 MB / 1.052 GB, free: 50.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002368/0.7228, allocations: 327.2 kB / 1.053 GB, free: 50.39 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001286/0.7229, allocations: 135.4 kB / 1.053 GB, free: 50.25 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/0.723, allocations: 14.09 kB / 1.053 GB, free: 50.25 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005772/0.7236, allocations: 466 kB / 1.053 GB, free: 49.97 MB / 0.698 GB Notification: Performance of pre-optimization done (n=45): time 1.713e-06/0.7236, allocations: 7.938 kB / 1.053 GB, free: 49.96 MB / 0.698 GB Notification: Performance of matching and sorting (n=45): time 0.001008/0.7246, allocations: 0.5585 MB / 1.054 GB, free: 49.78 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001392/0.7247, allocations: 441.7 kB / 1.054 GB, free: 49.27 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002591/0.725, allocations: 293.3 kB / 1.054 GB, free: 49.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001094/0.7251, allocations: 69.62 kB / 1.054 GB, free: 49.05 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001558/0.7253, allocations: 162.6 kB / 1.055 GB, free: 48.93 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.676e-05/0.7254, allocations: 99.22 kB / 1.055 GB, free: 48.86 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.7255, allocations: 31.3 kB / 1.055 GB, free: 48.85 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.245e-05/0.7256, allocations: 353.8 kB / 1.055 GB, free: 48.52 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007721/0.7263, allocations: 416.8 kB / 1.055 GB, free: 48.39 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008626/0.7272, allocations: 0.706 MB / 1.056 GB, free: 47.86 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001098/0.7283, allocations: 1.185 MB / 1.057 GB, free: 46.77 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/0.7283, allocations: 8.625 kB / 1.057 GB, free: 46.77 MB / 0.698 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002408/0.7307, allocations: 1.715 MB / 1.059 GB, free: 45.85 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001736/0.7309, allocations: 490.4 kB / 1.059 GB, free: 45.34 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/0.731, allocations: 8.906 kB / 1.059 GB, free: 45.34 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.673e-05/0.731, allocations: 15.3 kB / 1.06 GB, free: 45.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.161e-05/0.7311, allocations: 34.61 kB / 1.06 GB, free: 45.33 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.743e-05/0.7311, allocations: 23.08 kB / 1.06 GB, free: 45.32 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002273/0.7334, allocations: 0.5654 MB / 1.06 GB, free: 45.26 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001637/0.7335, allocations: 99.41 kB / 1.06 GB, free: 45.25 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.0003046/0.7339, allocations: 212.5 kB / 1.06 GB, free: 45.09 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.143e-05/0.7339, allocations: 44.83 kB / 1.06 GB, free: 45.07 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.306e-05/0.734, allocations: 41.06 kB / 1.06 GB, free: 45.04 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.734, allocations: 8.422 kB / 1.061 GB, free: 45.04 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.206e-05/0.734, allocations: 6.219 kB / 1.061 GB, free: 45.04 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.734, allocations: 5.484 kB / 1.061 GB, free: 45.04 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002991/0.7343, allocations: 337.4 kB / 1.061 GB, free: 44.79 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.7344, allocations: 3.344 kB / 1.061 GB, free: 44.79 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.495e-05/0.7344, allocations: 16.58 kB / 1.061 GB, free: 44.78 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.7344, allocations: 10.34 kB / 1.061 GB, free: 44.78 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.749e-05/0.7344, allocations: 17 kB / 1.061 GB, free: 44.77 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.7345, allocations: 14.48 kB / 1.061 GB, free: 44.77 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.7345, allocations: 2.594 kB / 1.061 GB, free: 44.77 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005188/0.735, allocations: 0.5114 MB / 1.061 GB, free: 44.46 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.107e-05/0.735, allocations: 118.4 kB / 1.062 GB, free: 44.34 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.497e-05/0.7351, allocations: 14.94 kB / 1.062 GB, free: 44.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.7352, allocations: 17.08 kB / 1.062 GB, free: 44.33 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.053e-05/0.7353, allocations: 61.12 kB / 1.062 GB, free: 44.31 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.08e-05/0.7353, allocations: 30.52 kB / 1.062 GB, free: 44.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001382/0.7355, allocations: 185.6 kB / 1.062 GB, free: 44.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 1e-07/0.7355, allocations: 0 / 1.062 GB, free: 44.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005852/0.7361, allocations: 200.4 kB / 1.062 GB, free: 44.18 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.0001801/0.7363, allocations: 143.8 kB / 1.062 GB, free: 44.07 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001582/0.7379, allocations: 1.739 MB / 1.064 GB, free: 42.77 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.7379, allocations: 7.375 kB / 1.064 GB, free: 42.77 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002013/0.7381, allocations: 176.7 kB / 1.064 GB, free: 42.71 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007156/0.7388, allocations: 113.9 kB / 1.064 GB, free: 42.69 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000821/0.7396, allocations: 0.713 MB / 1.065 GB, free: 42.18 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001978/0.7398, allocations: 0.7758 MB / 1.066 GB, free: 41.48 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001312/0.74, allocations: 42.06 kB / 1.066 GB, free: 41.48 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.298e-05/0.74, allocations: 38.31 kB / 1.066 GB, free: 41.46 MB / 0.698 GB Notification: Performance of SimCode: time 7.92e-07/0.74, allocations: 0 / 1.066 GB, free: 41.46 MB / 0.698 GB Notification: Performance of Templates: time 0.01807/0.7581, allocations: 11.37 MB / 1.077 GB, free: 40.52 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe 2>&1)