Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00079/0.00079, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001129/0.001919, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001741/0.003278, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9453/0.9453, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09967/1.045, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.817/1.817, allocations: 378.2 MB / 0.6076 GB, free: 7.812 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5496/2.367, allocations: 123.3 MB / 0.728 GB, free: 5.824 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.374e-06/2.374e-06, allocations: 0 / 0.7293 GB, free: 4.555 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.969e-05/3.206e-05, allocations: 2.312 kB / 0.7293 GB, free: 4.551 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003751/0.003783, allocations: 1.834 MB / 0.7311 GB, free: 2.727 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001884/0.005668, allocations: 0.9444 MB / 0.732 GB, free: 1.789 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001059/0.005774, allocations: 0.6562 kB / 0.732 GB, free: 1.789 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001718/0.005946, allocations: 33.47 kB / 0.7321 GB, free: 1.758 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0003759/0.006321, allocations: 114.5 kB / 0.7322 GB, free: 1.656 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004471/0.006769, allocations: 170.1 kB / 0.7323 GB, free: 1.492 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003556/0.007124, allocations: 243.9 kB / 0.7326 GB, free: 1.258 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001396/0.007264, allocations: 27.33 kB / 0.7326 GB, free: 1.23 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02457/0.03184, allocations: 6.384 MB / 0.7388 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002908/0.03213, allocations: 102.5 kB / 0.7389 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 5.847e-05/0.03219, allocations: 16 kB / 0.7389 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001303/0.03232, allocations: 31.94 kB / 0.739 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 6.524e-05/0.03238, allocations: 27.88 kB / 0.739 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 9.944e-05/0.03248, allocations: 43.92 kB / 0.739 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003986/0.03288, allocations: 151.4 kB / 0.7392 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.793e-05/0.0329, allocations: 3.938 kB / 0.7392 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.124e-06/0.0329, allocations: 2.656 kB / 0.7392 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.084e-05/0.03292, allocations: 0 / 0.7392 GB, free: 12.81 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0008241/0.03375, allocations: 499 kB / 0.7397 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.03379, allocations: 12.03 kB / 0.7397 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.386e-05/0.03386, allocations: 25.44 kB / 0.7397 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002781/0.03414, allocations: 178.4 kB / 0.7399 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.03416, allocations: 14.22 kB / 0.7399 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.394e-05/0.0342, allocations: 15.98 kB / 0.7399 GB, free: 12.03 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/0.03436, allocations: 91.34 kB / 0.74 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.03437, allocations: 0 / 0.74 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.03438, allocations: 0 / 0.74 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/0.03439, allocations: 4 kB / 0.74 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.49e-05/0.03447, allocations: 34.34 kB / 0.74 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006626/0.03513, allocations: 348.1 kB / 0.7404 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001343/0.03526, allocations: 67.11 kB / 0.7404 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.032e-05/0.0353, allocations: 29.77 kB / 0.7404 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.454e-05/0.03532, allocations: 0 / 0.7404 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001712/0.03549, allocations: 106.2 kB / 0.7405 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=15): time 1.483e-06/0.03549, allocations: 0 / 0.7405 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15): time 0.003248/0.03874, allocations: 110.5 kB / 0.7407 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.576e-05/0.03879, allocations: 81.11 kB / 0.7407 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.03895, allocations: 185.1 kB / 0.7409 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.903e-05/0.03898, allocations: 33.7 kB / 0.7409 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.476e-05/0.03905, allocations: 116.4 kB / 0.741 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.62e-05/0.03909, allocations: 35.73 kB / 0.7411 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.524e-05/0.03917, allocations: 57.64 kB / 0.7411 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.946e-05/0.03927, allocations: 334.8 kB / 0.7415 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.441e-05/0.03931, allocations: 12 kB / 0.7415 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002205/0.03953, allocations: 241.3 kB / 0.7417 GB, free: 9.996 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000122/0.03965, allocations: 95.98 kB / 0.7418 GB, free: 9.883 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.03965, allocations: 1.25 kB / 0.7418 GB, free: 9.883 MB / 0.7136 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001872/0.03984, allocations: 127.4 kB / 0.7419 GB, free: 9.754 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.03986, allocations: 10.97 kB / 0.7419 GB, free: 9.746 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.03987, allocations: 0 / 0.7419 GB, free: 9.746 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.03988, allocations: 4 kB / 0.7419 GB, free: 9.742 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.03998, allocations: 27.94 kB / 0.742 GB, free: 9.715 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.575e-06/0.03999, allocations: 8.609 kB / 0.742 GB, free: 9.707 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001401/0.04013, allocations: 20.48 kB / 0.742 GB, free: 9.688 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.04015, allocations: 7.984 kB / 0.742 GB, free: 9.68 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 19 (plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition2,booPul.pulseStart,$PRE.booPul.pulseStart,booPul.y,scaDel.sampleTrigger,scaDel.tActivateLast,$PRE.scaDel.tActivateLast,scaDel.active,sca.sampleTrigger,sca.tActivateLast,$PRE.sca.tActivateLast,sca.active,$whenCondition1,$whenCondition3,$whenCondition4,plotConfiguration.activate_internal) * 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 0.0001057/0.04025, allocations: 135.4 kB / 0.7421 GB, free: 9.539 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.988e-05/0.04028, allocations: 20.55 kB / 0.7421 GB, free: 9.52 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.483e-05/0.04033, allocations: 21.45 kB / 0.7422 GB, free: 9.5 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.04033, allocations: 0.6875 kB / 0.7422 GB, free: 9.5 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.04033, allocations: 0.625 kB / 0.7422 GB, free: 9.5 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.75e-06/0.04034, allocations: 4 kB / 0.7422 GB, free: 9.496 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004573/0.0408, allocations: 283.7 kB / 0.7424 GB, free: 9.195 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.0408, allocations: 4 kB / 0.7424 GB, free: 9.191 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.093e-05/0.04083, allocations: 5.5 kB / 0.7424 GB, free: 9.188 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.75e-05/0.04086, allocations: 19.83 kB / 0.7425 GB, free: 9.168 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.04086, allocations: 0 / 0.7425 GB, free: 9.168 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.04087, allocations: 8 kB / 0.7425 GB, free: 9.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.04088, allocations: 1.125 kB / 0.7425 GB, free: 9.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.145e-06/0.04088, allocations: 3.984 kB / 0.7425 GB, free: 9.156 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001659/0.04105, allocations: 184.2 kB / 0.7427 GB, free: 8.957 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.04107, allocations: 4.812 kB / 0.7427 GB, free: 8.953 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.04117, allocations: 12.64 kB / 0.7427 GB, free: 8.941 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.533e-05/0.04122, allocations: 15.97 kB / 0.7427 GB, free: 8.926 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.528e-05/0.04125, allocations: 12.73 kB / 0.7427 GB, free: 8.914 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.368e-05/0.04131, allocations: 52.23 kB / 0.7427 GB, free: 8.863 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9e-08/0.04131, allocations: 1.531 kB / 0.7427 GB, free: 8.863 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003331/0.04464, allocations: 47.89 kB / 0.7428 GB, free: 8.816 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 (sca.sampleTrigger,scaDel.sampleTrigger,booPul.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart,plotConfiguration.active,plotConfiguration.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * 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.0004648/0.04511, allocations: 183.7 kB / 0.743 GB, free: 8.676 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001693/0.04528, allocations: 72.64 kB / 0.743 GB, free: 8.602 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.237e-06/0.04529, allocations: 8 kB / 0.743 GB, free: 8.594 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.364e-05/0.04536, allocations: 47.27 kB / 0.7431 GB, free: 8.547 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003431/0.0457, allocations: 67.83 kB / 0.7432 GB, free: 8.48 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007671/0.04647, allocations: 296.7 kB / 0.7434 GB, free: 8.164 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.421e-05/0.04652, allocations: 72.23 kB / 0.7435 GB, free: 8.074 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 8.215e-05/0.04661, allocations: 18.83 kB / 0.7435 GB, free: 8.055 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002267/0.04683, allocations: 109.3 kB / 0.7436 GB, free: 7.945 MB / 0.7136 GB Notification: Performance of SimCode: time 1.092e-06/0.04683, allocations: 1.094 kB / 0.7436 GB, free: 7.945 MB / 0.7136 GB Notification: Performance of Templates: time 0.01776/0.06459, allocations: 4.111 MB / 0.7476 GB, free: 4.012 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & ./Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.072615618817508]