Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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.0008541/0.0008541, allocations: 80.48 kB / 19.93 MB, free: 4.633 MB / 18.57 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.000875/0.000875, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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.8943/0.8943, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.668/1.668, allocations: 359 MB / 0.6044 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.9517 GB, free: 3.039 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.525e-05/2.676e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.035 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.002253/0.00228, allocations: 1.721 MB / 0.9534 GB, free: 1.293 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001151/0.003431, allocations: 0.9082 MB / 0.9543 GB, free: 392 kB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.027e-05/0.003501, allocations: 4 kB / 0.9543 GB, free: 388 kB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001946/0.003696, allocations: 31.66 kB / 0.9543 GB, free: 356 kB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0003115/0.004007, allocations: 119.4 kB / 0.9544 GB, free: 236 kB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002596/0.004267, allocations: 155.6 kB / 0.9546 GB, free: 80 kB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0002351/0.004502, allocations: 247.3 kB / 0.9548 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.00463, allocations: 17.8 kB / 0.9548 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000147/0.004777, allocations: 151.7 kB / 0.955 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004789/0.009566, allocations: 1.696 MB / 0.9566 GB, free: 14.42 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 6.449e-05/0.00963, allocations: 20 kB / 0.9566 GB, free: 14.4 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 9.55e-05/0.009726, allocations: 39.92 kB / 0.9567 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 6.204e-05/0.009788, allocations: 39.83 kB / 0.9567 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 7.971e-05/0.009868, allocations: 63.81 kB / 0.9568 GB, free: 14.26 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0003399/0.01021, allocations: 239.3 kB / 0.957 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.01021, allocations: 3.938 kB / 0.957 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.004e-06/0.01021, allocations: 4 kB / 0.957 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.441e-06/0.01022, allocations: 0 / 0.957 GB, free: 14.02 MB / 0.9167 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.0006304/0.01085, allocations: 494.4 kB / 0.9575 GB, free: 13.49 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.01089, allocations: 12.03 kB / 0.9575 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.783e-05/0.01095, allocations: 16.84 kB / 0.9575 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/0.01115, allocations: 177.5 kB / 0.9577 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.01116, allocations: 12.38 kB / 0.9577 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.437e-05/0.01119, allocations: 19.94 kB / 0.9577 GB, free: 13.23 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.01133, allocations: 89.64 kB / 0.9578 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.01134, allocations: 3.938 kB / 0.9578 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.01135, allocations: 8 kB / 0.9578 GB, free: 13.13 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.01136, allocations: 0 / 0.9578 GB, free: 13.13 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.589e-05/0.01144, allocations: 51.97 kB / 0.9579 GB, free: 13.08 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005109/0.01195, allocations: 372.1 kB / 0.9582 GB, free: 12.68 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002782/0.01223, allocations: 130.7 kB / 0.9583 GB, free: 12.55 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.076e-05/0.01227, allocations: 28.8 kB / 0.9584 GB, free: 12.52 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.01229, allocations: 8 kB / 0.9584 GB, free: 12.51 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001506/0.01244, allocations: 118.6 kB / 0.9585 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=16): time 1.453e-06/0.01244, allocations: 0 / 0.9585 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of matching and sorting (n=16): time 0.0002713/0.01271, allocations: 161.5 kB / 0.9586 GB, free: 12.22 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.01275, allocations: 63.34 kB / 0.9587 GB, free: 12.14 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.01289, allocations: 200.4 kB / 0.9589 GB, free: 11.94 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.477e-05/0.01291, allocations: 33.7 kB / 0.9589 GB, free: 11.9 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 6.976e-05/0.01298, allocations: 124.6 kB / 0.959 GB, free: 11.77 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.72e-05/0.01301, allocations: 35.73 kB / 0.9591 GB, free: 11.74 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.132e-05/0.01307, allocations: 57.67 kB / 0.9591 GB, free: 11.68 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.409e-05/0.01316, allocations: 326.8 kB / 0.9594 GB, free: 11.35 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.888e-05/0.01321, allocations: 35.98 kB / 0.9595 GB, free: 11.31 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002006/0.01341, allocations: 236.7 kB / 0.9597 GB, free: 11.03 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.915e-05/0.01351, allocations: 96.23 kB / 0.9598 GB, free: 10.92 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.01351, allocations: 3.938 kB / 0.9598 GB, free: 10.92 MB / 0.9167 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001732/0.01368, allocations: 176.2 kB / 0.96 GB, free: 10.74 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.0137, allocations: 8 kB / 0.96 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.0137, allocations: 0 / 0.96 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.01372, allocations: 4 kB / 0.96 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.529e-05/0.01376, allocations: 12 kB / 0.96 GB, free: 10.72 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.01377, allocations: 8.062 kB / 0.96 GB, free: 10.71 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001076/0.01388, allocations: 31.86 kB / 0.96 GB, free: 10.68 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-06/0.01388, allocations: 4 kB / 0.96 GB, free: 10.68 MB / 0.9167 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,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,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition1,$whenCondition2,$whenCondition4,$whenCondition5) * 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 9.83e-05/0.01398, allocations: 135.8 kB / 0.9602 GB, free: 10.54 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.802e-05/0.014, allocations: 19.84 kB / 0.9602 GB, free: 10.52 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.389e-05/0.01403, allocations: 21.8 kB / 0.9602 GB, free: 10.49 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.01404, allocations: 0 / 0.9602 GB, free: 10.49 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.01404, allocations: 0 / 0.9602 GB, free: 10.49 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.01405, allocations: 0 / 0.9602 GB, free: 10.49 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004168/0.01446, allocations: 433.8 kB / 0.9606 GB, free: 10.03 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.01446, allocations: 0 / 0.9606 GB, free: 10.03 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.682e-05/0.01448, allocations: 7.938 kB / 0.9606 GB, free: 10.02 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.01448, allocations: 0 / 0.9606 GB, free: 10.02 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.01449, allocations: 8 kB / 0.9606 GB, free: 10.02 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.0145, allocations: 0 / 0.9606 GB, free: 10.02 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.0145, allocations: 0 / 0.9606 GB, free: 10.02 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001566/0.01465, allocations: 234.5 kB / 0.9608 GB, free: 9.773 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.709e-05/0.01467, allocations: 15.91 kB / 0.9609 GB, free: 9.758 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.01469, allocations: 7.984 kB / 0.9609 GB, free: 9.75 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.502e-05/0.01475, allocations: 15.98 kB / 0.9609 GB, free: 9.734 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.773e-05/0.01481, allocations: 19.97 kB / 0.9609 GB, free: 9.715 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.056e-05/0.01483, allocations: 4 kB / 0.9609 GB, free: 9.711 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 8.512e-05/0.01492, allocations: 146.9 kB / 0.961 GB, free: 9.566 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.01492, allocations: 0 / 0.961 GB, free: 9.566 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002027/0.01512, allocations: 51.88 kB / 0.9611 GB, free: 9.516 MB / 0.9167 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.0003011/0.01542, allocations: 185.3 kB / 0.9613 GB, free: 9.352 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001699/0.01559, allocations: 92.03 kB / 0.9614 GB, free: 9.262 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.01559, allocations: 12.06 kB / 0.9614 GB, free: 9.25 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.429e-05/0.01566, allocations: 47.92 kB / 0.9614 GB, free: 9.203 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002786/0.01594, allocations: 50.17 kB / 0.9615 GB, free: 9.156 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005223/0.01646, allocations: 344.1 kB / 0.9618 GB, free: 8.789 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.071e-05/0.01654, allocations: 108.3 kB / 0.9619 GB, free: 8.66 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.614e-05/0.01658, allocations: 24.48 kB / 0.9619 GB, free: 8.637 MB / 0.9167 GB Notification: Performance of SimCode: time 3.81e-07/0.01659, allocations: 4 kB / 0.9619 GB, free: 8.633 MB / 0.9167 GB Notification: Performance of Templates: time 0.003958/0.02054, allocations: 3.266 MB / 0.9651 GB, free: 5.383 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & ./Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.421090632677078]