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.0008407/0.0008407, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 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.001229/0.001229, allocations: 165.9 kB / 22.45 MB, free: 2.113 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 0.9096/0.9096, allocations: 177.2 MB / 202.8 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 179] 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 1.782/1.782, allocations: 389 MB / 0.6331 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.9996 GB, free: 13.57 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.223e-05/1.366e-05, allocations: 4.953 kB / 0.9996 GB, free: 13.57 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.002136/0.00215, allocations: 1.721 MB / 1.001 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001203/0.003353, allocations: 0.9082 MB / 1.002 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.762e-05/0.003431, allocations: 4 kB / 1.002 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001706/0.003601, allocations: 23.67 kB / 1.002 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0003541/0.003956, allocations: 127.3 kB / 1.002 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002941/0.00425, allocations: 151.6 kB / 1.003 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002257/0.004475, allocations: 243.3 kB / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.004588, allocations: 29.78 kB / 1.003 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001367/0.004725, allocations: 151.7 kB / 1.003 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00489/0.009614, allocations: 1.654 MB / 1.005 GB, free: 8.988 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 4.134e-05/0.009656, allocations: 16 kB / 1.005 GB, free: 8.973 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 7.964e-05/0.009735, allocations: 39.88 kB / 1.005 GB, free: 8.934 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 6.216e-05/0.009797, allocations: 43.83 kB / 1.005 GB, free: 8.891 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 7.632e-05/0.009874, allocations: 71.8 kB / 1.005 GB, free: 8.82 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003033/0.01018, allocations: 235.3 kB / 1.005 GB, free: 8.59 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.01018, allocations: 7.984 kB / 1.005 GB, free: 8.582 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.272e-06/0.01018, allocations: 0 / 1.005 GB, free: 8.582 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.01019, allocations: 0 / 1.005 GB, free: 8.582 MB / 0.9636 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.0005719/0.01076, allocations: 0.4888 MB / 1.005 GB, free: 8.051 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.01079, allocations: 16.69 kB / 1.005 GB, free: 8.035 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.925e-05/0.01082, allocations: 34.75 kB / 1.005 GB, free: 7.992 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.821e-05/0.01087, allocations: 28.78 kB / 1.005 GB, free: 7.965 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001889/0.01106, allocations: 186.9 kB / 1.006 GB, free: 7.758 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.01107, allocations: 16.12 kB / 1.006 GB, free: 7.742 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.048e-05/0.01109, allocations: 12 kB / 1.006 GB, free: 7.73 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.01124, allocations: 113.7 kB / 1.006 GB, free: 7.609 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.01125, allocations: 0 / 1.006 GB, free: 7.609 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.01126, allocations: 8 kB / 1.006 GB, free: 7.602 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.01127, allocations: 0 / 1.006 GB, free: 7.602 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.522e-05/0.01135, allocations: 59.86 kB / 1.006 GB, free: 7.543 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005393/0.01189, allocations: 491.7 kB / 1.006 GB, free: 7.016 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001314/0.01202, allocations: 97.31 kB / 1.006 GB, free: 6.902 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.058e-05/0.01206, allocations: 29.72 kB / 1.006 GB, free: 6.867 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/0.01208, allocations: 4 kB / 1.006 GB, free: 6.863 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001418/0.01222, allocations: 121 kB / 1.007 GB, free: 6.727 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=15): time 8.82e-07/0.01222, allocations: 3.938 kB / 1.007 GB, free: 6.723 MB / 0.9636 GB Notification: Performance of matching and sorting (n=15): time 0.0002431/0.01246, allocations: 161.6 kB / 1.007 GB, free: 6.559 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/0.01251, allocations: 85.05 kB / 1.007 GB, free: 6.457 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.01265, allocations: 198.8 kB / 1.007 GB, free: 6.25 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/0.01267, allocations: 37.64 kB / 1.007 GB, free: 6.207 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 7.153e-05/0.01274, allocations: 124.5 kB / 1.007 GB, free: 6.082 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.218e-05/0.01277, allocations: 39.73 kB / 1.007 GB, free: 6.043 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.949e-05/0.01283, allocations: 57.67 kB / 1.007 GB, free: 5.98 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.424e-05/0.0129, allocations: 326.8 kB / 1.008 GB, free: 5.652 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.304e-05/0.01294, allocations: 31.98 kB / 1.008 GB, free: 5.621 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001959/0.01314, allocations: 246.6 kB / 1.008 GB, free: 5.324 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.995e-05/0.01324, allocations: 125.8 kB / 1.008 GB, free: 5.18 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.01324, allocations: 0 / 1.008 GB, free: 5.18 MB / 0.9636 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001586/0.0134, allocations: 152.8 kB / 1.008 GB, free: 5.027 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.01341, allocations: 8 kB / 1.008 GB, free: 5.02 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.748e-06/0.01342, allocations: 0 / 1.008 GB, free: 5.02 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.01343, allocations: 4.156 kB / 1.008 GB, free: 5.016 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.915e-05/0.01349, allocations: 27.92 kB / 1.008 GB, free: 4.988 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.0135, allocations: 4 kB / 1.008 GB, free: 4.984 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001051/0.0136, allocations: 27.88 kB / 1.008 GB, free: 4.957 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.01361, allocations: 4 kB / 1.008 GB, free: 4.953 MB / 0.9636 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.962e-05/0.0137, allocations: 147.7 kB / 1.008 GB, free: 4.801 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.95e-05/0.01372, allocations: 19.86 kB / 1.008 GB, free: 4.781 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.926e-05/0.01375, allocations: 21.45 kB / 1.008 GB, free: 4.758 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.01375, allocations: 0 / 1.008 GB, free: 4.758 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.01375, allocations: 8 kB / 1.008 GB, free: 4.75 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.01376, allocations: 0 / 1.008 GB, free: 4.75 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003598/0.01412, allocations: 425.3 kB / 1.009 GB, free: 4.285 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.01412, allocations: 0 / 1.009 GB, free: 4.285 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.254e-05/0.01413, allocations: 4 kB / 1.009 GB, free: 4.281 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.01413, allocations: 0 / 1.009 GB, free: 4.281 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.727e-06/0.01414, allocations: 8 kB / 1.009 GB, free: 4.273 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.01414, allocations: 4 kB / 1.009 GB, free: 4.27 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.01414, allocations: 0 / 1.009 GB, free: 4.27 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001474/0.01429, allocations: 228.2 kB / 1.009 GB, free: 4.027 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.886e-05/0.01431, allocations: 31.78 kB / 1.009 GB, free: 3.996 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.377e-05/0.01432, allocations: 4 kB / 1.009 GB, free: 3.992 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.651e-05/0.01439, allocations: 15.97 kB / 1.009 GB, free: 3.977 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.092e-05/0.01444, allocations: 23.91 kB / 1.009 GB, free: 3.953 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.649e-05/0.01446, allocations: 8 kB / 1.009 GB, free: 3.945 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 7.853e-05/0.01454, allocations: 142.7 kB / 1.009 GB, free: 3.809 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.01454, allocations: 0 / 1.009 GB, free: 3.809 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002102/0.01475, allocations: 40 kB / 1.009 GB, free: 3.77 MB / 0.9636 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.0005069/0.01525, allocations: 0.8278 MB / 1.01 GB, free: 2.934 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001549/0.01541, allocations: 103.3 kB / 1.01 GB, free: 2.836 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.01541, allocations: 0 / 1.01 GB, free: 2.836 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.963e-05/0.01547, allocations: 55.84 kB / 1.01 GB, free: 2.781 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002733/0.01574, allocations: 56.61 kB / 1.01 GB, free: 2.73 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/0.01716, allocations: 1.946 MB / 1.012 GB, free: 0.6484 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.561e-05/0.01722, allocations: 108.3 kB / 1.012 GB, free: 0.5234 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 6.007e-05/0.01728, allocations: 21.62 kB / 1.012 GB, free: 0.5 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.027e-05/0.01735, allocations: 56.47 kB / 1.012 GB, free: 456 kB / 0.9636 GB Notification: Performance of SimCode: time 4.41e-07/0.01735, allocations: 4 kB / 1.012 GB, free: 452 kB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01835/0.0357, allocations: 6.555 MB / 1.019 GB, free: 10.08 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.087/7.123, allocations: 8 kB / 1.019 GB, free: 10.07 MB / 0.9792 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.csv --start-time 0 --stop-time 10 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.fmu > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.csv","/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] "Error: Could not read variable plotConfiguration.active in file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.csv. Warning: Get data of variable plotConfiguration.active from file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.csv failed! Error: Could not read variable sca.active in file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.csv. Warning: Get data of variable sca.active from file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.csv failed! Error: Could not read variable scaDel.active in file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.csv. Warning: Get data of variable scaDel.active from file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.317580399103463]