Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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.001247/0.001247, 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.0009729/0.0009729, 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.9548/0.9548, allocations: 177.2 MB / 202.8 MB, free: 5.547 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.831/1.831, allocations: 389.1 MB / 0.6331 GB, free: 12.67 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.PlotterActivationGlobalInput,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 0.9996 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.576e-05/1.759e-05, allocations: 2.281 kB / 0.9996 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.002326/0.002344, allocations: 1.731 MB / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001112/0.003456, allocations: 0.8966 MB / 1.002 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.697e-05/0.003533, allocations: 4 kB / 1.002 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001716/0.003705, allocations: 27.67 kB / 1.002 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0003706/0.004075, allocations: 123.3 kB / 1.002 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003407/0.004416, allocations: 155.6 kB / 1.002 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002634/0.004679, allocations: 255.3 kB / 1.003 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.004816, allocations: 13.81 kB / 1.003 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001608/0.004976, allocations: 151.7 kB / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004998/0.009975, allocations: 1.693 MB / 1.005 GB, free: 8.938 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 4.123e-05/0.01002, allocations: 20 kB / 1.005 GB, free: 8.918 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 7.762e-05/0.01009, allocations: 39.92 kB / 1.005 GB, free: 8.879 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 5.521e-05/0.01015, allocations: 39.83 kB / 1.005 GB, free: 8.84 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 7.306e-05/0.01022, allocations: 63.81 kB / 1.005 GB, free: 8.777 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002999/0.01052, allocations: 247.2 kB / 1.005 GB, free: 8.535 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.514e-06/0.01052, allocations: 0 / 1.005 GB, free: 8.535 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.272e-06/0.01053, allocations: 0 / 1.005 GB, free: 8.535 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.01053, allocations: 0 / 1.005 GB, free: 8.535 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005954/0.01113, allocations: 492.6 kB / 1.005 GB, free: 8.012 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.01117, allocations: 12.75 kB / 1.005 GB, free: 8 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.054e-05/0.01121, allocations: 42.73 kB / 1.005 GB, free: 7.949 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.112e-05/0.01126, allocations: 16.84 kB / 1.005 GB, free: 7.934 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000222/0.01148, allocations: 194.8 kB / 1.006 GB, free: 7.719 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.0115, allocations: 16.12 kB / 1.006 GB, free: 7.703 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.127e-05/0.01152, allocations: 12 kB / 1.006 GB, free: 7.691 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.01167, allocations: 100 kB / 1.006 GB, free: 7.59 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.01168, allocations: 0 / 1.006 GB, free: 7.59 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.01169, allocations: 0 / 1.006 GB, free: 7.59 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.463e-06/0.0117, allocations: 4 kB / 1.006 GB, free: 7.586 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.84e-05/0.01178, allocations: 55.91 kB / 1.006 GB, free: 7.531 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005744/0.01236, allocations: 399.6 kB / 1.006 GB, free: 7.098 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002917/0.01265, allocations: 126.7 kB / 1.006 GB, free: 6.965 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.687e-05/0.0127, allocations: 36.78 kB / 1.006 GB, free: 6.926 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.01271, allocations: 0 / 1.006 GB, free: 6.926 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001591/0.01287, allocations: 107.4 kB / 1.006 GB, free: 6.809 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=16): time 1.573e-06/0.01288, allocations: 4 kB / 1.006 GB, free: 6.805 MB / 0.9636 GB Notification: Performance of matching and sorting (n=16): time 0.0002913/0.01317, allocations: 171.7 kB / 1.007 GB, free: 6.633 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/0.01321, allocations: 59.39 kB / 1.007 GB, free: 6.562 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.01335, allocations: 190.8 kB / 1.007 GB, free: 6.363 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.778e-05/0.01338, allocations: 33.7 kB / 1.007 GB, free: 6.324 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 7.534e-05/0.01346, allocations: 124.5 kB / 1.007 GB, free: 6.199 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.984e-05/0.01349, allocations: 43.69 kB / 1.007 GB, free: 6.156 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.78e-05/0.01355, allocations: 57.67 kB / 1.007 GB, free: 6.094 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.051e-05/0.01364, allocations: 326.8 kB / 1.007 GB, free: 5.766 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.687e-05/0.01369, allocations: 31.98 kB / 1.007 GB, free: 5.734 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002054/0.0139, allocations: 245 kB / 1.008 GB, free: 5.445 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001029/0.014, allocations: 102.6 kB / 1.008 GB, free: 5.332 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.014, allocations: 3.938 kB / 1.008 GB, free: 5.328 MB / 0.9636 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000181/0.01418, allocations: 149.5 kB / 1.008 GB, free: 5.176 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.0142, allocations: 4 kB / 1.008 GB, free: 5.172 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.01421, allocations: 8.125 kB / 1.008 GB, free: 5.164 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.01422, allocations: 7.938 kB / 1.008 GB, free: 5.156 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.829e-05/0.01427, allocations: 15.98 kB / 1.008 GB, free: 5.141 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.01427, allocations: 4 kB / 1.008 GB, free: 5.137 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/0.01438, allocations: 27.88 kB / 1.008 GB, free: 5.109 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.01439, allocations: 4 kB / 1.008 GB, free: 5.105 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition3,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,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition1,$whenCondition2,$whenCondition4,$whenCondition5) * 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 9.288e-05/0.01448, allocations: 143.7 kB / 1.008 GB, free: 4.957 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.682e-05/0.0145, allocations: 19.86 kB / 1.008 GB, free: 4.938 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.141e-05/0.01453, allocations: 17.81 kB / 1.008 GB, free: 4.918 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.01454, allocations: 8 kB / 1.008 GB, free: 4.91 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.01454, allocations: 0 / 1.008 GB, free: 4.91 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.01454, allocations: 3.984 kB / 1.008 GB, free: 4.906 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004135/0.01496, allocations: 457.3 kB / 1.009 GB, free: 4.41 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.01496, allocations: 0 / 1.009 GB, free: 4.41 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.48e-05/0.01497, allocations: 7.938 kB / 1.009 GB, free: 4.402 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.01498, allocations: 0 / 1.009 GB, free: 4.402 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.01498, allocations: 0 / 1.009 GB, free: 4.402 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.01498, allocations: 4 kB / 1.009 GB, free: 4.398 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.01499, allocations: 4 kB / 1.009 GB, free: 4.395 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001628/0.01515, allocations: 229 kB / 1.009 GB, free: 4.156 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.072e-05/0.01517, allocations: 23.8 kB / 1.009 GB, free: 4.133 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/0.01519, allocations: 7.984 kB / 1.009 GB, free: 4.125 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.419e-05/0.01525, allocations: 11.98 kB / 1.009 GB, free: 4.113 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.517e-05/0.01531, allocations: 27.84 kB / 1.009 GB, free: 4.086 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.02e-05/0.01533, allocations: 15.92 kB / 1.009 GB, free: 4.07 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 8.314e-05/0.01541, allocations: 134.7 kB / 1.009 GB, free: 3.941 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.01541, allocations: 0 / 1.009 GB, free: 3.941 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002143/0.01562, allocations: 47.98 kB / 1.009 GB, free: 3.895 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,booPul.y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * 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.0005823/0.01621, allocations: 0.8413 MB / 1.01 GB, free: 3.051 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001686/0.01637, allocations: 95.81 kB / 1.01 GB, free: 2.957 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.01638, allocations: 3.938 kB / 1.01 GB, free: 2.953 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.693e-05/0.01643, allocations: 43.98 kB / 1.01 GB, free: 2.91 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002687/0.0167, allocations: 55.62 kB / 1.01 GB, free: 2.859 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001423/0.01812, allocations: 1.921 MB / 1.012 GB, free: 0.8242 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.962e-05/0.01819, allocations: 108.3 kB / 1.012 GB, free: 0.6914 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 5.706e-05/0.01825, allocations: 21.62 kB / 1.012 GB, free: 0.6719 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.994e-05/0.01832, allocations: 60.47 kB / 1.012 GB, free: 0.6133 MB / 0.9636 GB Notification: Performance of SimCode: time 5.31e-07/0.01832, allocations: 4 kB / 1.012 GB, free: 0.6094 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01875/0.03708, allocations: 6.607 MB / 1.019 GB, free: 10.2 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.073/7.11, allocations: 5.938 kB / 1.019 GB, free: 10.19 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_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_PlotterActivationGlobalInput.fmu > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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.PlotterActivationGlobalInput_res.csv. Warning: Get data of variable plotConfiguration.active from file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv failed! Error: Could not read variable sca.active in file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv. Warning: Get data of variable sca.active from file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv failed! Error: Could not read variable scaDel.active in file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv. Warning: Get data of variable scaDel.active from file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.421742769889534]