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.00137/0.00137, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001533/0.001533, allocations: 161 kB / 24.16 MB, free: 336 kB / 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.046/1.046, allocations: 177.1 MB / 204.6 MB, free: 5.48 MB / 186.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 2.011/2.011, allocations: 377.9 MB / 0.624 GB, free: 8.336 MB / 0.5886 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.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.362e-06/1.362e-06, allocations: 0 / 0.76 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.967e-05/2.103e-05, allocations: 5.406 kB / 0.76 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.002453/0.002474, allocations: 1.838 MB / 0.7618 GB, free: 4.797 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00124/0.003713, allocations: 0.932 MB / 0.7627 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.737e-05/0.00379, allocations: 0 / 0.7627 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001682/0.003959, allocations: 34.17 kB / 0.7628 GB, free: 3.84 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0003269/0.004286, allocations: 114 kB / 0.7629 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002953/0.004581, allocations: 161.3 kB / 0.763 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002228/0.004804, allocations: 240.9 kB / 0.7633 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.00491, allocations: 38.36 kB / 0.7633 GB, free: 3.309 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01335/0.01826, allocations: 5.261 MB / 0.7684 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001843/0.01845, allocations: 103.7 kB / 0.7685 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.631e-05/0.01848, allocations: 12 kB / 0.7685 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 9.291e-05/0.01858, allocations: 42.25 kB / 0.7686 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.352e-05/0.01863, allocations: 35.89 kB / 0.7686 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 7.077e-05/0.0187, allocations: 59.81 kB / 0.7687 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003102/0.01901, allocations: 187.2 kB / 0.7688 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.01902, allocations: 0 / 0.7688 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.543e-06/0.01902, allocations: 0 / 0.7688 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.92e-06/0.01902, allocations: 6.406 kB / 0.7689 GB, free: 15.56 MB / 0.7292 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.0005684/0.01959, allocations: 455.3 kB / 0.7693 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.01963, allocations: 12.03 kB / 0.7693 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.54e-05/0.01967, allocations: 21.78 kB / 0.7693 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001893/0.01986, allocations: 170.1 kB / 0.7695 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.01988, allocations: 12.38 kB / 0.7695 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.327e-05/0.0199, allocations: 20.38 kB / 0.7695 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.02002, allocations: 99.95 kB / 0.7696 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.02003, allocations: 0 / 0.7696 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.02004, allocations: 4 kB / 0.7696 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.02005, allocations: 4 kB / 0.7696 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.139e-05/0.02009, allocations: 26.73 kB / 0.7696 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000458/0.02055, allocations: 358.3 kB / 0.77 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 9.69e-05/0.02065, allocations: 77.05 kB / 0.7701 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.971e-05/0.02068, allocations: 30.89 kB / 0.7701 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.215e-05/0.02069, allocations: 0 / 0.7701 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000124/0.02081, allocations: 110.1 kB / 0.7702 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=15): time 9.12e-07/0.02081, allocations: 0 / 0.7702 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of matching and sorting (n=15): time 0.0001667/0.02098, allocations: 94.25 kB / 0.7703 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/0.02102, allocations: 85.84 kB / 0.7704 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.02113, allocations: 192 kB / 0.7705 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.02115, allocations: 30.2 kB / 0.7706 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.41e-05/0.02121, allocations: 117.8 kB / 0.7707 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.578e-05/0.02123, allocations: 39.72 kB / 0.7707 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.857e-05/0.0213, allocations: 57.64 kB / 0.7708 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.144e-05/0.02138, allocations: 326.8 kB / 0.7711 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.104e-05/0.0214, allocations: 18.86 kB / 0.7711 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001594/0.02156, allocations: 234.7 kB / 0.7713 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.527e-05/0.02165, allocations: 91.52 kB / 0.7714 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.02165, allocations: 7.969 kB / 0.7714 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001352/0.02179, allocations: 113.5 kB / 0.7715 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.0218, allocations: 11.94 kB / 0.7715 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.02181, allocations: 0 / 0.7715 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.02182, allocations: 4 kB / 0.7716 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.173e-05/0.0219, allocations: 27.98 kB / 0.7716 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.02191, allocations: 3.938 kB / 0.7716 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.191e-05/0.022, allocations: 23.94 kB / 0.7716 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.565e-06/0.02201, allocations: 6.469 kB / 0.7716 GB, free: 12.48 MB / 0.7292 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 8.76e-05/0.0221, allocations: 138.6 kB / 0.7717 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.885e-05/0.02211, allocations: 19.86 kB / 0.7718 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.198e-05/0.02215, allocations: 17.47 kB / 0.7718 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.02215, allocations: 7.938 kB / 0.7718 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.02215, allocations: 0.9062 kB / 0.7718 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.02216, allocations: 3.984 kB / 0.7718 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002698/0.02243, allocations: 289.4 kB / 0.7721 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.02243, allocations: 0 / 0.7721 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.614e-05/0.02245, allocations: 7.984 kB / 0.7721 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.02245, allocations: 4 kB / 0.7721 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.02246, allocations: 4 kB / 0.7721 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.02246, allocations: 4 kB / 0.7721 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.02246, allocations: 0 / 0.7721 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001113/0.02257, allocations: 194.9 kB / 0.7723 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.622e-05/0.02259, allocations: 15.89 kB / 0.7723 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.0226, allocations: 4 kB / 0.7723 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.345e-05/0.02265, allocations: 11.98 kB / 0.7723 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.883e-05/0.0227, allocations: 19.97 kB / 0.7723 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.02272, allocations: 4.094 kB / 0.7723 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.115e-05/0.02276, allocations: 57.8 kB / 0.7724 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.6e-07/0.02276, allocations: 2.156 kB / 0.7724 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000195/0.02295, allocations: 47.89 kB / 0.7724 GB, free: 11.59 MB / 0.7292 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.0002979/0.02325, allocations: 164.9 kB / 0.7726 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001257/0.02338, allocations: 85.75 kB / 0.7727 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.02338, allocations: 1.094 kB / 0.7727 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.031e-05/0.02343, allocations: 40.78 kB / 0.7727 GB, free: 11.33 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002268/0.02366, allocations: 57.62 kB / 0.7728 GB, free: 11.28 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004122/0.02407, allocations: 304.7 kB / 0.7731 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.521e-05/0.02412, allocations: 77.27 kB / 0.7731 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.35e-05/0.02418, allocations: 22.53 kB / 0.7731 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001624/0.02434, allocations: 105.2 kB / 0.7732 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of SimCode: time 6.01e-07/0.02434, allocations: 1.156 kB / 0.7733 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of Templates: time 0.005935/0.03028, allocations: 4.026 MB / 0.7772 GB, free: 6.879 MB / 0.7292 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.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.423777114134282]