Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001381/0.001381, 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.001449/0.001449, allocations: 158.9 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.438/1.438, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 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.613/2.613, allocations: 359 MB / 0.6037 GB, free: 14.97 MB / 0.5762 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.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_11_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_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 0.9509 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.731e-05/2.953e-05, allocations: 6.219 kB / 0.951 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003361/0.003391, allocations: 1.727 MB / 0.9526 GB, free: 9.82 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001963/0.005353, allocations: 0.916 MB / 0.9535 GB, free: 8.902 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.425e-05/0.005438, allocations: 0 / 0.9535 GB, free: 8.902 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002186/0.005656, allocations: 27.73 kB / 0.9536 GB, free: 8.875 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005365/0.006193, allocations: 131.3 kB / 0.9537 GB, free: 8.746 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004002/0.006593, allocations: 151.6 kB / 0.9538 GB, free: 8.598 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003711/0.006964, allocations: 243.3 kB / 0.9541 GB, free: 8.359 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001584/0.007122, allocations: 29.78 kB / 0.9541 GB, free: 8.328 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002259/0.007348, allocations: 147.7 kB / 0.9542 GB, free: 8.184 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01619/0.02354, allocations: 1.98 MB / 0.9562 GB, free: 6.73 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.26e-05/0.02362, allocations: 19.94 kB / 0.9562 GB, free: 6.711 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001307/0.02375, allocations: 39.92 kB / 0.9562 GB, free: 6.672 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.214e-05/0.02383, allocations: 47.81 kB / 0.9563 GB, free: 6.625 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000128/0.02396, allocations: 63.81 kB / 0.9563 GB, free: 6.562 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004973/0.02446, allocations: 239.3 kB / 0.9566 GB, free: 6.328 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.185e-06/0.02447, allocations: 4 kB / 0.9566 GB, free: 6.324 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.324e-06/0.02447, allocations: 4 kB / 0.9566 GB, free: 6.32 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.448e-05/0.02449, allocations: 0 / 0.9566 GB, free: 6.32 MB / 0.8575 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.0008898/0.02538, allocations: 492.6 kB / 0.957 GB, free: 5.797 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.02542, allocations: 8.031 kB / 0.957 GB, free: 5.789 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.631e-05/0.0255, allocations: 24.78 kB / 0.9571 GB, free: 5.766 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003042/0.0258, allocations: 181.5 kB / 0.9572 GB, free: 5.562 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.02582, allocations: 16.31 kB / 0.9573 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.614e-05/0.02585, allocations: 15.94 kB / 0.9573 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002347/0.02609, allocations: 117.7 kB / 0.9574 GB, free: 5.406 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.0261, allocations: 0 / 0.9574 GB, free: 5.406 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.035e-05/0.02612, allocations: 11.98 kB / 0.9574 GB, free: 5.395 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.02612, allocations: 0 / 0.9574 GB, free: 5.395 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001193/0.02624, allocations: 51.97 kB / 0.9574 GB, free: 5.344 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008472/0.02709, allocations: 456.3 kB / 0.9579 GB, free: 4.863 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001837/0.02727, allocations: 93.27 kB / 0.958 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.43e-05/0.02735, allocations: 33.77 kB / 0.958 GB, free: 4.715 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.02737, allocations: 4 kB / 0.958 GB, free: 4.711 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002715/0.02764, allocations: 127.6 kB / 0.9581 GB, free: 4.57 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=15): time 1.433e-06/0.02764, allocations: 0 / 0.9581 GB, free: 4.57 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15): time 0.0003797/0.02802, allocations: 168.9 kB / 0.9583 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.703e-05/0.02809, allocations: 85.05 kB / 0.9584 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002291/0.02832, allocations: 208.2 kB / 0.9586 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.116e-05/0.02837, allocations: 33.7 kB / 0.9586 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.02848, allocations: 124.5 kB / 0.9587 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.295e-05/0.02851, allocations: 31.8 kB / 0.9587 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.02861, allocations: 57.67 kB / 0.9588 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001657/0.02878, allocations: 326.8 kB / 0.9591 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.2e-05/0.02885, allocations: 31.98 kB / 0.9591 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003334/0.02918, allocations: 246.1 kB / 0.9594 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001811/0.02936, allocations: 117.9 kB / 0.9595 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.02937, allocations: 3.938 kB / 0.9595 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000288/0.02965, allocations: 169.4 kB / 0.9597 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.02967, allocations: 6.188 kB / 0.9597 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.02967, allocations: 0 / 0.9597 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.02969, allocations: 4 kB / 0.9597 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.272e-05/0.02978, allocations: 23.92 kB / 0.9597 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.02979, allocations: 8.156 kB / 0.9597 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002367/0.03003, allocations: 23.88 kB / 0.9597 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/0.03004, allocations: 8 kB / 0.9597 GB, free: 2.789 MB / 0.8575 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.0001523/0.03019, allocations: 147.7 kB / 0.9599 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.39e-05/0.03023, allocations: 19.84 kB / 0.9599 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.432e-05/0.03027, allocations: 21.45 kB / 0.9599 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.03028, allocations: 4 kB / 0.9599 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.03028, allocations: 4 kB / 0.9599 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.03029, allocations: 0 / 0.9599 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006106/0.0309, allocations: 390 kB / 0.9603 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.0309, allocations: 3.938 kB / 0.9603 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.465e-05/0.03092, allocations: 4 kB / 0.9603 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.03093, allocations: 0 / 0.9603 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.03094, allocations: 4 kB / 0.9603 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.06e-06/0.03094, allocations: 4 kB / 0.9603 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.03095, allocations: 3.984 kB / 0.9603 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002764/0.03122, allocations: 232.1 kB / 0.9605 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.962e-05/0.03125, allocations: 19.91 kB / 0.9605 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.697e-05/0.03128, allocations: 7.984 kB / 0.9606 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/0.03142, allocations: 15.98 kB / 0.9606 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.392e-05/0.0315, allocations: 19.97 kB / 0.9606 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.28e-05/0.03152, allocations: 4 kB / 0.9606 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001542/0.03168, allocations: 140.5 kB / 0.9607 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8e-08/0.03168, allocations: 0 / 0.9607 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003341/0.03201, allocations: 51.92 kB / 0.9608 GB, free: 1.656 MB / 0.8575 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.0004287/0.03244, allocations: 183.1 kB / 0.9609 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002492/0.03269, allocations: 96.08 kB / 0.961 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.03269, allocations: 4 kB / 0.961 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.0328, allocations: 43.92 kB / 0.9611 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004462/0.03324, allocations: 62.5 kB / 0.9611 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006029/0.03384, allocations: 295.2 kB / 0.9614 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001159/0.03396, allocations: 116.4 kB / 0.9615 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.608e-05/0.03404, allocations: 25.62 kB / 0.9616 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.268e-05/0.0341, allocations: 20.5 kB / 0.9616 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of SimCode: time 3.8e-07/0.0341, allocations: 0 / 0.9616 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of Templates: time 0.009275/0.04337, allocations: 3.917 MB / 0.9654 GB, free: 12.97 MB / 0.8731 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & ./Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.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.632409490644932]