Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.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.001761/0.001761, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002249/0.002249, allocations: 158.4 kB / 22.45 MB, free: 5.375 MB / 14.72 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 1.506/1.506, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.866/2.866, allocations: 377.8 MB / 0.6221 GB, free: 12.63 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 0.9814 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.475e-05/2.658e-05, allocations: 2.281 kB / 0.9814 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.00321/0.003237, allocations: 1.724 MB / 0.9831 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001852/0.005088, allocations: 0.9083 MB / 0.984 GB, free: 9.402 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.442e-05/0.005173, allocations: 3.938 kB / 0.984 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001986/0.005371, allocations: 27.67 kB / 0.984 GB, free: 9.371 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004007/0.005772, allocations: 123.3 kB / 0.9841 GB, free: 9.25 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004115/0.006184, allocations: 155.3 kB / 0.9843 GB, free: 9.102 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003436/0.006527, allocations: 251.3 kB / 0.9845 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001448/0.006672, allocations: 33.77 kB / 0.9845 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000217/0.006889, allocations: 147.7 kB / 0.9847 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01399/0.02087, allocations: 1.643 MB / 0.9863 GB, free: 7.469 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001094/0.02098, allocations: 16 kB / 0.9863 GB, free: 7.453 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00016/0.02114, allocations: 47.86 kB / 0.9863 GB, free: 7.406 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.521e-05/0.02123, allocations: 35.84 kB / 0.9864 GB, free: 7.371 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001467/0.02138, allocations: 75.8 kB / 0.9865 GB, free: 7.297 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000525/0.0219, allocations: 243.2 kB / 0.9867 GB, free: 7.059 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.02191, allocations: 0 / 0.9867 GB, free: 7.059 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.403e-06/0.02191, allocations: 0 / 0.9867 GB, free: 7.059 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.251e-06/0.02191, allocations: 0 / 0.9867 GB, free: 7.059 MB / 0.9356 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.0009496/0.02286, allocations: 488.7 kB / 0.9871 GB, free: 6.539 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.0229, allocations: 15.97 kB / 0.9872 GB, free: 6.523 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.144e-05/0.02299, allocations: 20.84 kB / 0.9872 GB, free: 6.504 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003062/0.0233, allocations: 181.3 kB / 0.9874 GB, free: 6.301 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.304e-05/0.02332, allocations: 16.38 kB / 0.9874 GB, free: 6.285 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.278e-05/0.02336, allocations: 23.92 kB / 0.9874 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002386/0.0236, allocations: 117.3 kB / 0.9875 GB, free: 6.137 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.02361, allocations: 0 / 0.9875 GB, free: 6.137 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.02363, allocations: 4 kB / 0.9875 GB, free: 6.133 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.02363, allocations: 4 kB / 0.9875 GB, free: 6.129 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001271/0.02376, allocations: 51.97 kB / 0.9876 GB, free: 6.078 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009741/0.02474, allocations: 472.2 kB / 0.988 GB, free: 5.582 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002029/0.02494, allocations: 85.27 kB / 0.9881 GB, free: 5.48 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.2e-05/0.02501, allocations: 37.77 kB / 0.9881 GB, free: 5.438 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.02503, allocations: 0 / 0.9881 GB, free: 5.438 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003178/0.02535, allocations: 125 kB / 0.9883 GB, free: 5.297 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=15): time 1.684e-06/0.02535, allocations: 0 / 0.9883 GB, free: 5.297 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15): time 0.0004059/0.02576, allocations: 164.9 kB / 0.9884 GB, free: 5.133 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.5e-05/0.02583, allocations: 89.05 kB / 0.9885 GB, free: 5.027 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002507/0.02608, allocations: 208.6 kB / 0.9887 GB, free: 4.812 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.436e-05/0.02613, allocations: 33.7 kB / 0.9887 GB, free: 4.773 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.02623, allocations: 120.6 kB / 0.9888 GB, free: 4.652 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.367e-05/0.02628, allocations: 35.73 kB / 0.9889 GB, free: 4.617 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.02638, allocations: 57.64 kB / 0.9889 GB, free: 4.555 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.02654, allocations: 330.8 kB / 0.9892 GB, free: 4.223 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.653e-05/0.02662, allocations: 39.92 kB / 0.9893 GB, free: 4.184 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003436/0.02696, allocations: 242.2 kB / 0.9895 GB, free: 3.891 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001709/0.02713, allocations: 118 kB / 0.9896 GB, free: 3.754 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.02713, allocations: 0 / 0.9896 GB, free: 3.754 MB / 0.9356 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003038/0.02744, allocations: 161.4 kB / 0.9898 GB, free: 3.59 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.02745, allocations: 4 kB / 0.9898 GB, free: 3.586 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.02746, allocations: 4 kB / 0.9898 GB, free: 3.582 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.02748, allocations: 8.156 kB / 0.9898 GB, free: 3.574 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.02758, allocations: 19.92 kB / 0.9898 GB, free: 3.555 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.02758, allocations: 0 / 0.9898 GB, free: 3.555 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002488/0.02783, allocations: 27.88 kB / 0.9898 GB, free: 3.527 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.559e-05/0.02785, allocations: 8 kB / 0.9898 GB, free: 3.52 MB / 0.9356 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.0001758/0.02802, allocations: 139.8 kB / 0.99 GB, free: 3.375 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.734e-05/0.02806, allocations: 19.84 kB / 0.99 GB, free: 3.355 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.294e-05/0.02811, allocations: 21.41 kB / 0.99 GB, free: 3.332 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.02811, allocations: 4 kB / 0.99 GB, free: 3.328 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.02812, allocations: 4.094 kB / 0.99 GB, free: 3.324 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.754e-06/0.02813, allocations: 7.969 kB / 0.99 GB, free: 3.316 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006226/0.02875, allocations: 397.9 kB / 0.9904 GB, free: 2.891 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.02875, allocations: 0 / 0.9904 GB, free: 2.891 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.858e-05/0.02878, allocations: 4 kB / 0.9904 GB, free: 2.887 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.02878, allocations: 0 / 0.9904 GB, free: 2.887 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.0288, allocations: 4 kB / 0.9904 GB, free: 2.883 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.0288, allocations: 4 kB / 0.9904 GB, free: 2.879 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.0288, allocations: 0 / 0.9904 GB, free: 2.879 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002747/0.02908, allocations: 247.8 kB / 0.9907 GB, free: 2.621 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.039e-05/0.02911, allocations: 11.91 kB / 0.9907 GB, free: 2.609 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.74e-05/0.02913, allocations: 3.984 kB / 0.9907 GB, free: 2.605 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.02928, allocations: 15.98 kB / 0.9907 GB, free: 2.59 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.437e-05/0.02935, allocations: 19.97 kB / 0.9907 GB, free: 2.57 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.577e-05/0.02938, allocations: 8 kB / 0.9907 GB, free: 2.562 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001495/0.02953, allocations: 143 kB / 0.9909 GB, free: 2.422 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.02953, allocations: 0 / 0.9909 GB, free: 2.422 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003414/0.02987, allocations: 47.89 kB / 0.9909 GB, free: 2.375 MB / 0.9356 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.0004293/0.0303, allocations: 191.7 kB / 0.9911 GB, free: 2.199 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002501/0.03055, allocations: 95.89 kB / 0.9912 GB, free: 2.105 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.03055, allocations: 0 / 0.9912 GB, free: 2.105 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.03065, allocations: 43.92 kB / 0.9912 GB, free: 2.062 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004591/0.03111, allocations: 53.89 kB / 0.9913 GB, free: 2.016 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006935/0.0318, allocations: 303.8 kB / 0.9916 GB, free: 1.688 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001214/0.03192, allocations: 120.4 kB / 0.9917 GB, free: 1.555 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.71e-05/0.03201, allocations: 17.64 kB / 0.9917 GB, free: 1.535 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.584e-05/0.03208, allocations: 24.48 kB / 0.9917 GB, free: 1.512 MB / 0.9356 GB Notification: Performance of SimCode: time 1.012e-06/0.03208, allocations: 3.938 kB / 0.9917 GB, free: 1.508 MB / 0.9356 GB Notification: Performance of Templates: time 0.009186/0.04126, allocations: 3.928 MB / 0.9956 GB, free: 13.65 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & ./Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.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: 8.188814628869295]