Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001392/0.001392, allocations: 80.73 kB / 19.43 MB, free: 360 kB / 13.93 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.001629/0.001629, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.462/1.462, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.214/3.214, allocations: 429.6 MB / 0.673 GB, free: 3.895 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 0.8776 GB, free: 6.504 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.131e-05/3.277e-05, allocations: 6.25 kB / 0.8776 GB, free: 6.496 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.003518/0.003551, allocations: 1.735 MB / 0.8793 GB, free: 4.777 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00194/0.005491, allocations: 0.9042 MB / 0.8801 GB, free: 3.875 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/0.005605, allocations: 0 / 0.8801 GB, free: 3.875 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.000213/0.005818, allocations: 31.67 kB / 0.8802 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0004801/0.006298, allocations: 120.4 kB / 0.8803 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004577/0.006755, allocations: 159.6 kB / 0.8804 GB, free: 3.57 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004016/0.007157, allocations: 244.5 kB / 0.8807 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/0.007297, allocations: 25.8 kB / 0.8807 GB, free: 3.305 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000299/0.007596, allocations: 147.7 kB / 0.8808 GB, free: 3.16 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01594/0.02354, allocations: 2.669 MB / 0.8834 GB, free: 1.457 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.0001007/0.02364, allocations: 20 kB / 0.8835 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001517/0.02379, allocations: 39.92 kB / 0.8835 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 8.455e-05/0.02387, allocations: 46.3 kB / 0.8835 GB, free: 1.355 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001431/0.02402, allocations: 59.81 kB / 0.8836 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0005279/0.02454, allocations: 247.2 kB / 0.8838 GB, free: 1.055 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.02455, allocations: 0 / 0.8838 GB, free: 1.055 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.613e-06/0.02455, allocations: 0 / 0.8838 GB, free: 1.055 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.097e-06/0.02456, allocations: 0 / 0.8838 GB, free: 1.055 MB / 0.8386 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.001038/0.0256, allocations: 490.8 kB / 0.8843 GB, free: 0.5352 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.02564, allocations: 8.031 kB / 0.8843 GB, free: 0.5273 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001201/0.02576, allocations: 32.8 kB / 0.8843 GB, free: 0.4961 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003535/0.02611, allocations: 194.3 kB / 0.8845 GB, free: 288 kB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/0.02613, allocations: 12.38 kB / 0.8845 GB, free: 276 kB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.355e-05/0.02618, allocations: 19.94 kB / 0.8846 GB, free: 256 kB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002429/0.02642, allocations: 107.4 kB / 0.8847 GB, free: 136 kB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.02643, allocations: 0 / 0.8847 GB, free: 136 kB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.724e-05/0.02645, allocations: 4 kB / 0.8847 GB, free: 132 kB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-06/0.02645, allocations: 4 kB / 0.8847 GB, free: 128 kB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001343/0.02659, allocations: 55.91 kB / 0.8847 GB, free: 72 kB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009697/0.02756, allocations: 460.3 kB / 0.8852 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001996/0.02776, allocations: 93.06 kB / 0.8852 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.755e-05/0.02784, allocations: 41.89 kB / 0.8853 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.02786, allocations: 0 / 0.8853 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002251/0.02809, allocations: 121.1 kB / 0.8854 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 1.233e-06/0.02809, allocations: 0 / 0.8854 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.0004148/0.0285, allocations: 177.5 kB / 0.8856 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.999e-05/0.02857, allocations: 81.11 kB / 0.8857 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002702/0.02884, allocations: 212.2 kB / 0.8859 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.371e-05/0.02889, allocations: 29.7 kB / 0.8859 GB, free: 14.76 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/0.02901, allocations: 120.6 kB / 0.886 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.929e-05/0.02905, allocations: 31.73 kB / 0.886 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/0.02916, allocations: 61.67 kB / 0.8861 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001797/0.02934, allocations: 330.8 kB / 0.8864 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.686e-05/0.02941, allocations: 31.98 kB / 0.8864 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003708/0.02978, allocations: 240.2 kB / 0.8867 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001874/0.02997, allocations: 124.8 kB / 0.8868 GB, free: 13.74 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.02997, allocations: 0 / 0.8868 GB, free: 13.74 MB / 0.8542 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003153/0.03029, allocations: 173.4 kB / 0.8869 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.03031, allocations: 8 kB / 0.887 GB, free: 13.56 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.03031, allocations: 3.984 kB / 0.887 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.789e-05/0.03034, allocations: 8.156 kB / 0.887 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.11e-05/0.03043, allocations: 19.92 kB / 0.887 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.03044, allocations: 0 / 0.887 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002333/0.03067, allocations: 31.88 kB / 0.887 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/0.03069, allocations: 4 kB / 0.887 GB, free: 13.49 MB / 0.8542 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.0001625/0.03085, allocations: 135.8 kB / 0.8871 GB, free: 13.35 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.787e-05/0.0309, allocations: 27.83 kB / 0.8872 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.699e-05/0.03094, allocations: 21.47 kB / 0.8872 GB, free: 13.31 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.03095, allocations: 4 kB / 0.8872 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.03095, allocations: 7.938 kB / 0.8872 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.03096, allocations: 3.984 kB / 0.8872 GB, free: 13.29 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006507/0.03161, allocations: 390 kB / 0.8876 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.03161, allocations: 0 / 0.8876 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.603e-05/0.03164, allocations: 4 kB / 0.8876 GB, free: 12.87 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.145e-06/0.03164, allocations: 4 kB / 0.8876 GB, free: 12.87 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.03166, allocations: 4 kB / 0.8876 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.03166, allocations: 0 / 0.8876 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.03166, allocations: 3.938 kB / 0.8876 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003055/0.03197, allocations: 246.5 kB / 0.8878 GB, free: 12.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.034e-05/0.032, allocations: 15.91 kB / 0.8878 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.599e-05/0.03203, allocations: 3.984 kB / 0.8879 GB, free: 12.58 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/0.03217, allocations: 15.98 kB / 0.8879 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.054e-05/0.03225, allocations: 19.97 kB / 0.8879 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.774e-05/0.03227, allocations: 4 kB / 0.8879 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001587/0.03243, allocations: 148.2 kB / 0.888 GB, free: 12.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.03243, allocations: 0 / 0.888 GB, free: 12.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003417/0.03278, allocations: 43.94 kB / 0.8881 GB, free: 12.36 MB / 0.8542 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.0004422/0.03322, allocations: 183.1 kB / 0.8882 GB, free: 12.19 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002489/0.03347, allocations: 95.89 kB / 0.8883 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.03347, allocations: 0 / 0.8883 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001113/0.03358, allocations: 43.92 kB / 0.8884 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000458/0.03404, allocations: 64.45 kB / 0.8884 GB, free: 11.99 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007098/0.03475, allocations: 318.1 kB / 0.8887 GB, free: 11.65 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001299/0.03488, allocations: 116.6 kB / 0.8889 GB, free: 11.52 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 8.959e-05/0.03497, allocations: 21.62 kB / 0.8889 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.564e-05/0.03503, allocations: 24.48 kB / 0.8889 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of SimCode: time 3.71e-07/0.03503, allocations: 0 / 0.8889 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of Templates: time 0.009194/0.04423, allocations: 3.938 MB / 0.8927 GB, free: 7.598 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.265579203958623]