Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.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.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.65/1.65, allocations: 306.1 MB / 321.4 MB, free: 10.75 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.001085/0.001085, allocations: 179.2 kB / 393.1 MB, free: 4.086 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.432/1.432, 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.0008977/0.0008976, allocations: 100.6 kB / 0.7935 GB, free: 39.87 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003742/0.0003744, allocations: 12 kB / 0.9224 GB, free: 8.684 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6154/0.6158, allocations: 121.3 MB / 1.041 GB, free: 57.81 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.00201/0.6179, allocations: 1.514 MB / 1.042 GB, free: 56.79 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001347/0.6192, allocations: 1.284 MB / 1.044 GB, free: 55.73 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.481e-05/0.6193, allocations: 1.188 kB / 1.044 GB, free: 55.73 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001647/0.6195, allocations: 27.31 kB / 1.044 GB, free: 55.71 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002451/0.6198, allocations: 89.14 kB / 1.044 GB, free: 55.66 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002756/0.62, allocations: 142.8 kB / 1.044 GB, free: 55.59 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002086/0.6203, allocations: 225.3 kB / 1.044 GB, free: 55.5 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.6204, allocations: 35.67 kB / 1.044 GB, free: 55.49 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.6205, allocations: 95.48 kB / 1.044 GB, free: 55.46 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.06949/0.69, allocations: 3.71 MB / 1.048 GB, free: 53.91 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 7.809e-05/0.6901, allocations: 14.72 kB / 1.048 GB, free: 53.91 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.6902, allocations: 17.53 kB / 1.048 GB, free: 53.91 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 6.671e-05/0.6903, allocations: 35.31 kB / 1.048 GB, free: 53.89 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001251/0.6904, allocations: 105.4 kB / 1.048 GB, free: 53.82 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000254/0.6907, allocations: 207.7 kB / 1.048 GB, free: 53.74 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.6907, allocations: 0 / 1.048 GB, free: 53.74 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.903e-06/0.6907, allocations: 0 / 1.048 GB, free: 53.74 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.6907, allocations: 0 / 1.048 GB, free: 53.74 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006497/0.6914, allocations: 0.5127 MB / 1.049 GB, free: 53.26 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.6914, allocations: 11.91 kB / 1.049 GB, free: 53.26 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.896e-05/0.6915, allocations: 23.97 kB / 1.049 GB, free: 53.25 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002179/0.6917, allocations: 243.8 kB / 1.049 GB, free: 53.01 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.6917, allocations: 15.78 kB / 1.049 GB, free: 53 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.981e-05/0.6918, allocations: 17.41 kB / 1.049 GB, free: 53 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.6919, allocations: 87.3 kB / 1.049 GB, free: 52.95 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.6919, allocations: 1.844 kB / 1.049 GB, free: 52.95 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.6919, allocations: 6.625 kB / 1.049 GB, free: 52.95 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.692, allocations: 6.5 kB / 1.049 GB, free: 52.94 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.6921, allocations: 46.86 kB / 1.049 GB, free: 52.93 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000656/0.6927, allocations: 486.6 kB / 1.05 GB, free: 52.57 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004163/0.6932, allocations: 151.7 kB / 1.05 GB, free: 52.52 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.53e-05/0.6932, allocations: 40.75 kB / 1.05 GB, free: 52.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/0.6932, allocations: 2.266 kB / 1.05 GB, free: 52.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001652/0.6934, allocations: 105.4 kB / 1.05 GB, free: 52.43 MB / 0.698 GB Notification: Performance of pre-optimization done (n=16): time 1.553e-06/0.6934, allocations: 1.344 kB / 1.05 GB, free: 52.43 MB / 0.698 GB Notification: Performance of matching and sorting (n=16): time 0.000273/0.6937, allocations: 164.5 kB / 1.05 GB, free: 52.35 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.301e-05/0.6937, allocations: 56.8 kB / 1.05 GB, free: 52.29 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001434/0.6939, allocations: 199.7 kB / 1.05 GB, free: 52.15 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.6939, allocations: 31.84 kB / 1.05 GB, free: 52.12 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.623e-05/0.694, allocations: 120.8 kB / 1.05 GB, free: 52.01 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.448e-05/0.694, allocations: 35.7 kB / 1.05 GB, free: 51.98 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.444e-06/0.694, allocations: 4.688 kB / 1.05 GB, free: 51.98 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.771e-05/0.6941, allocations: 330.1 kB / 1.051 GB, free: 51.66 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.794e-05/0.6941, allocations: 33.81 kB / 1.051 GB, free: 51.65 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001854/0.6943, allocations: 129.4 kB / 1.051 GB, free: 51.55 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001053/0.6944, allocations: 101.2 kB / 1.051 GB, free: 51.47 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.6945, allocations: 0.9688 kB / 1.051 GB, free: 51.47 MB / 0.698 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001996/0.6947, allocations: 159 kB / 1.051 GB, free: 51.39 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.6947, allocations: 4.812 kB / 1.051 GB, free: 51.39 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.6947, allocations: 5.281 kB / 1.051 GB, free: 51.38 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.6947, allocations: 6.359 kB / 1.051 GB, free: 51.38 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.589e-05/0.6948, allocations: 15.16 kB / 1.051 GB, free: 51.38 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.6948, allocations: 2.5 kB / 1.051 GB, free: 51.38 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001966/0.695, allocations: 34.44 kB / 1.051 GB, free: 51.37 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.695, allocations: 11.78 kB / 1.051 GB, free: 51.36 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition3,$whenCondition5,$whenCondition4,$whenCondition2,$whenCondition1,plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,sca.active,$PRE.sca.tActivateLast,sca.tActivateLast,sca.sampleTrigger,scaDel.active,$PRE.scaDel.tActivateLast,scaDel.tActivateLast,scaDel.sampleTrigger,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * 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.966e-05/0.6951, allocations: 144.1 kB / 1.051 GB, free: 51.23 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.169e-05/0.6951, allocations: 21.25 kB / 1.051 GB, free: 51.22 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.542e-05/0.6952, allocations: 17 kB / 1.051 GB, free: 51.21 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.6952, allocations: 1.125 kB / 1.051 GB, free: 51.21 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.6952, allocations: 0 / 1.051 GB, free: 51.21 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.6952, allocations: 3.562 kB / 1.051 GB, free: 51.21 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005072/0.6957, allocations: 0.4965 MB / 1.052 GB, free: 50.84 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.6957, allocations: 0 / 1.052 GB, free: 50.84 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.395e-05/0.6957, allocations: 5.156 kB / 1.052 GB, free: 50.84 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.6958, allocations: 5.938 kB / 1.052 GB, free: 50.83 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.6958, allocations: 0 / 1.052 GB, free: 50.83 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.6958, allocations: 5.438 kB / 1.052 GB, free: 50.83 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.6958, allocations: 1.828 kB / 1.052 GB, free: 50.83 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001658/0.696, allocations: 239.5 kB / 1.052 GB, free: 50.65 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.09e-05/0.696, allocations: 96.42 kB / 1.052 GB, free: 50.54 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.305e-05/0.696, allocations: 8.203 kB / 1.052 GB, free: 50.54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/0.6961, allocations: 25.94 kB / 1.052 GB, free: 50.53 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.753e-05/0.6962, allocations: 22.33 kB / 1.052 GB, free: 50.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.026e-05/0.6962, allocations: 5.625 kB / 1.052 GB, free: 50.52 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.807e-05/0.6963, allocations: 144.4 kB / 1.052 GB, free: 50.43 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6963, allocations: 0.9688 kB / 1.052 GB, free: 50.43 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002618/0.6966, allocations: 48.23 kB / 1.052 GB, free: 50.42 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,booPul.y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00027/0.6969, allocations: 176.7 kB / 1.053 GB, free: 50.31 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002137/0.6971, allocations: 111.4 kB / 1.053 GB, free: 50.27 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.6971, allocations: 0 / 1.053 GB, free: 50.27 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 7.998e-05/0.6972, allocations: 52.42 kB / 1.053 GB, free: 50.25 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003618/0.6976, allocations: 61.25 kB / 1.053 GB, free: 50.24 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004175/0.698, allocations: 328.6 kB / 1.053 GB, free: 49.99 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001204/0.6981, allocations: 0.7293 MB / 1.054 GB, free: 49.29 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 6.841e-05/0.6982, allocations: 23.7 kB / 1.054 GB, free: 49.29 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.818e-05/0.6983, allocations: 28.41 kB / 1.054 GB, free: 49.27 MB / 0.698 GB Notification: Performance of SimCode: time 2.5e-07/0.6983, allocations: 0 / 1.054 GB, free: 49.27 MB / 0.698 GB Notification: Performance of Templates: time 0.006116/0.7044, allocations: 3.44 MB / 1.057 GB, free: 48.99 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.makefile (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1)