Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002037/0.002037, allocations: 80.41 kB / 20.23 MB, free: 4.203 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.002644/0.002644, allocations: 161.7 kB / 23.54 MB, free: 0.8945 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 1.453/1.453, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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 2.785/2.785, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 177] 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.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_11_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_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.7863 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.721e-05/2.888e-05, allocations: 5.688 kB / 0.7863 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.003589/0.003618, allocations: 1.741 MB / 0.788 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002079/0.005697, allocations: 0.8999 MB / 0.7889 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001328/0.00583, allocations: 9.156 kB / 0.7889 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0002448/0.006075, allocations: 27.72 kB / 0.789 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0005977/0.006672, allocations: 116.1 kB / 0.7891 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006622/0.007334, allocations: 159.6 kB / 0.7892 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0004204/0.007755, allocations: 244.2 kB / 0.7894 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000166/0.007921, allocations: 29.78 kB / 0.7895 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000301/0.008222, allocations: 148.3 kB / 0.7896 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01645/0.02467, allocations: 2.66 MB / 0.7922 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001136/0.02478, allocations: 21.34 kB / 0.7922 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001625/0.02495, allocations: 43.91 kB / 0.7923 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.381e-05/0.02504, allocations: 43.83 kB / 0.7923 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001449/0.02519, allocations: 63.81 kB / 0.7924 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005121/0.0257, allocations: 240.2 kB / 0.7926 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.0257, allocations: 4 kB / 0.7926 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.362e-06/0.02571, allocations: 1.031 kB / 0.7926 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.576e-06/0.02571, allocations: 0 / 0.7926 GB, free: 7.492 MB / 0.7448 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.001035/0.02675, allocations: 491.2 kB / 0.7931 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.02679, allocations: 8.031 kB / 0.7931 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001073/0.0269, allocations: 28.84 kB / 0.7931 GB, free: 6.938 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003307/0.02723, allocations: 185.4 kB / 0.7933 GB, free: 6.73 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/0.02725, allocations: 12.91 kB / 0.7933 GB, free: 6.719 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.292e-05/0.02729, allocations: 19.94 kB / 0.7933 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002382/0.02753, allocations: 118.3 kB / 0.7934 GB, free: 6.574 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.02754, allocations: 4.516 kB / 0.7934 GB, free: 6.57 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.02756, allocations: 4 kB / 0.7934 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.02757, allocations: 4.75 kB / 0.7935 GB, free: 6.562 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001411/0.02771, allocations: 51.97 kB / 0.7935 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000923/0.02863, allocations: 455.2 kB / 0.7939 GB, free: 6.035 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000213/0.02884, allocations: 93.25 kB / 0.794 GB, free: 5.926 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.357e-05/0.02892, allocations: 39.02 kB / 0.7941 GB, free: 5.883 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.02894, allocations: 4 kB / 0.7941 GB, free: 5.879 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002267/0.02917, allocations: 117.6 kB / 0.7942 GB, free: 5.746 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=15): time 2.054e-06/0.02917, allocations: 0.7812 kB / 0.7942 GB, free: 5.746 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15): time 0.000446/0.02961, allocations: 176.1 kB / 0.7943 GB, free: 5.57 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.194e-05/0.0297, allocations: 85.84 kB / 0.7944 GB, free: 5.469 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000255/0.02995, allocations: 200.4 kB / 0.7946 GB, free: 5.262 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.76e-05/0.03, allocations: 42.56 kB / 0.7947 GB, free: 5.215 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001456/0.03014, allocations: 128.5 kB / 0.7948 GB, free: 5.086 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.214e-05/0.03019, allocations: 32.98 kB / 0.7948 GB, free: 5.055 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001241/0.03031, allocations: 57.67 kB / 0.7949 GB, free: 4.992 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002026/0.03051, allocations: 334.8 kB / 0.7952 GB, free: 4.656 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.03065, allocations: 27.98 kB / 0.7952 GB, free: 4.629 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000372/0.03103, allocations: 249 kB / 0.7955 GB, free: 4.328 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001848/0.03121, allocations: 112.1 kB / 0.7956 GB, free: 4.199 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.03121, allocations: 0 / 0.7956 GB, free: 4.199 MB / 0.7448 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003206/0.03153, allocations: 173.6 kB / 0.7957 GB, free: 4.027 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.03155, allocations: 8 kB / 0.7957 GB, free: 4.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.03156, allocations: 0 / 0.7957 GB, free: 4.02 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.256e-05/0.03159, allocations: 4 kB / 0.7957 GB, free: 4.016 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.257e-05/0.03168, allocations: 15.94 kB / 0.7958 GB, free: 4 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.306e-05/0.0317, allocations: 7.984 kB / 0.7958 GB, free: 3.992 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002358/0.03193, allocations: 29.19 kB / 0.7958 GB, free: 3.965 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.03194, allocations: 4 kB / 0.7958 GB, free: 3.961 MB / 0.7448 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.0001686/0.03211, allocations: 144.3 kB / 0.7959 GB, free: 3.812 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.992e-05/0.03216, allocations: 27.83 kB / 0.796 GB, free: 3.785 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.805e-05/0.03221, allocations: 22.03 kB / 0.796 GB, free: 3.766 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.03221, allocations: 1.281 kB / 0.796 GB, free: 3.766 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.03222, allocations: 4 kB / 0.796 GB, free: 3.762 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.218e-06/0.03223, allocations: 4 kB / 0.796 GB, free: 3.758 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006665/0.0329, allocations: 387 kB / 0.7964 GB, free: 3.344 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/0.0329, allocations: 7.984 kB / 0.7964 GB, free: 3.336 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.546e-05/0.03293, allocations: 4.688 kB / 0.7964 GB, free: 3.332 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.03294, allocations: 7.984 kB / 0.7964 GB, free: 3.324 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.03295, allocations: 5.469 kB / 0.7964 GB, free: 3.32 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.03295, allocations: 0 / 0.7964 GB, free: 3.32 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.03295, allocations: 7.938 kB / 0.7964 GB, free: 3.312 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002981/0.03325, allocations: 236.2 kB / 0.7966 GB, free: 3.062 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.824e-05/0.03328, allocations: 15.56 kB / 0.7966 GB, free: 3.051 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.533e-05/0.0333, allocations: 4 kB / 0.7966 GB, free: 3.047 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000145/0.03345, allocations: 15.97 kB / 0.7966 GB, free: 3.031 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.805e-05/0.03353, allocations: 19.97 kB / 0.7967 GB, free: 3.012 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.524e-05/0.03355, allocations: 8 kB / 0.7967 GB, free: 3.004 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001701/0.03372, allocations: 139.2 kB / 0.7968 GB, free: 2.867 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.03372, allocations: 0 / 0.7968 GB, free: 2.867 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003385/0.03406, allocations: 51.83 kB / 0.7969 GB, free: 2.816 MB / 0.7448 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.0005782/0.03464, allocations: 169.2 kB / 0.797 GB, free: 2.676 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002565/0.0349, allocations: 104.3 kB / 0.7971 GB, free: 2.574 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.0349, allocations: 0.5938 kB / 0.7971 GB, free: 2.574 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.035, allocations: 41.36 kB / 0.7972 GB, free: 2.535 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004692/0.03547, allocations: 78.86 kB / 0.7972 GB, free: 2.465 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007294/0.0362, allocations: 322.1 kB / 0.7975 GB, free: 2.117 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001374/0.03633, allocations: 108.2 kB / 0.7976 GB, free: 1.988 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 9.292e-05/0.03643, allocations: 17.64 kB / 0.7977 GB, free: 1.973 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.291e-05/0.0365, allocations: 28.48 kB / 0.7977 GB, free: 1.945 MB / 0.7448 GB Notification: Performance of SimCode: time 5.81e-07/0.0365, allocations: 0 / 0.7977 GB, free: 1.945 MB / 0.7448 GB Notification: Performance of Templates: time 0.009973/0.04647, allocations: 3.949 MB / 0.8015 GB, free: 14.05 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & ./Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.772521182894707]