Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00192/0.00192, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00286/0.00286, allocations: 210.6 kB / 22.24 MB, free: 4.859 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.534/1.534, allocations: 230.7 MB / 256 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.872/2.872, allocations: 476 MB / 0.7699 GB, free: 4.73 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,fileNamePrefix="Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,fileNamePrefix="Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002114/0.002114, allocations: 68.2 kB / 1.117 GB, free: 41.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3147, allocations: 170 MB / 1.283 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003629/0.3183, allocations: 1.72 MB / 1.284 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001987/0.3203, allocations: 0.9046 MB / 1.285 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001298/0.3204, allocations: 7.938 kB / 1.285 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002144/0.3206, allocations: 31.73 kB / 1.285 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004565/0.3211, allocations: 119.4 kB / 1.285 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004508/0.3216, allocations: 147.5 kB / 1.285 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003958/0.3219, allocations: 255.3 kB / 1.286 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.3221, allocations: 17.81 kB / 1.286 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001823/0.3223, allocations: 111.7 kB / 1.286 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01422/0.3365, allocations: 1.703 MB / 1.287 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.646e-05/0.3366, allocations: 20 kB / 1.287 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001405/0.3367, allocations: 35.98 kB / 1.287 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.837e-05/0.3368, allocations: 35.91 kB / 1.288 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001314/0.3369, allocations: 79.56 kB / 1.288 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004316/0.3373, allocations: 223.2 kB / 1.288 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3373, allocations: 0 / 1.288 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.894e-06/0.3374, allocations: 3.938 kB / 1.288 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.3374, allocations: 0 / 1.288 GB, free: 7.52 MB / 0.9825 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.0008813/0.3382, allocations: 494.2 kB / 1.288 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.3383, allocations: 12.03 kB / 1.288 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.256e-05/0.3383, allocations: 46.73 kB / 1.288 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.279e-05/0.3384, allocations: 20.8 kB / 1.288 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003153/0.3387, allocations: 185.6 kB / 1.289 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.456e-05/0.3387, allocations: 15.94 kB / 1.289 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.514e-05/0.3388, allocations: 12 kB / 1.289 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002076/0.339, allocations: 93.59 kB / 1.289 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.339, allocations: 4 kB / 1.289 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.339, allocations: 4 kB / 1.289 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.339, allocations: 4 kB / 1.289 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000122/0.3391, allocations: 47.97 kB / 1.289 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008483/0.34, allocations: 407.5 kB / 1.289 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004484/0.3404, allocations: 126.7 kB / 1.289 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.078e-05/0.3405, allocations: 36.78 kB / 1.289 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.3405, allocations: 0 / 1.289 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002747/0.3408, allocations: 117.9 kB / 1.289 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.904e-06/0.3408, allocations: 0 / 1.289 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.0003751/0.3412, allocations: 165.6 kB / 1.29 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.876e-05/0.3412, allocations: 59.39 kB / 1.29 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002255/0.3415, allocations: 201.3 kB / 1.29 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.73e-05/0.3415, allocations: 29.7 kB / 1.29 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.3416, allocations: 124.5 kB / 1.29 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.976e-05/0.3416, allocations: 35.73 kB / 1.29 GB, free: 5.137 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.3418, allocations: 61.62 kB / 1.29 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.3419, allocations: 330.8 kB / 1.29 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.247e-05/0.342, allocations: 27.98 kB / 1.29 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003327/0.3423, allocations: 244.7 kB / 1.291 GB, free: 4.422 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001568/0.3425, allocations: 102.8 kB / 1.291 GB, free: 4.309 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.3425, allocations: 0 / 1.291 GB, free: 4.309 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002912/0.3428, allocations: 149.5 kB / 1.291 GB, free: 4.156 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.3428, allocations: 11.98 kB / 1.291 GB, free: 4.145 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.3428, allocations: 0 / 1.291 GB, free: 4.145 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.3428, allocations: 0 / 1.291 GB, free: 4.145 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.368e-05/0.3429, allocations: 15.94 kB / 1.291 GB, free: 4.129 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.3429, allocations: 4 kB / 1.291 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002269/0.3431, allocations: 35.98 kB / 1.291 GB, free: 4.09 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.3431, allocations: 8 kB / 1.291 GB, free: 4.082 MB / 0.9825 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 0.0001511/0.3433, allocations: 131.5 kB / 1.291 GB, free: 3.945 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.241e-05/0.3433, allocations: 19.86 kB / 1.291 GB, free: 3.926 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.449e-05/0.3434, allocations: 25.8 kB / 1.291 GB, free: 3.898 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.3434, allocations: 8 kB / 1.291 GB, free: 3.891 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.3434, allocations: 0 / 1.291 GB, free: 3.891 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.3434, allocations: 3.938 kB / 1.291 GB, free: 3.887 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007473/0.3441, allocations: 453.2 kB / 1.292 GB, free: 3.395 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.3441, allocations: 0 / 1.292 GB, free: 3.395 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.565e-05/0.3442, allocations: 4 kB / 1.292 GB, free: 3.391 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.3442, allocations: 3.984 kB / 1.292 GB, free: 3.387 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/0.3442, allocations: 11.94 kB / 1.292 GB, free: 3.375 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3442, allocations: 0 / 1.292 GB, free: 3.375 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3442, allocations: 0 / 1.292 GB, free: 3.375 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002719/0.3445, allocations: 234.1 kB / 1.292 GB, free: 3.133 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.24e-05/0.3445, allocations: 15.86 kB / 1.292 GB, free: 3.117 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.061e-05/0.3445, allocations: 11.94 kB / 1.292 GB, free: 3.105 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/0.3447, allocations: 15.92 kB / 1.292 GB, free: 3.09 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.434e-05/0.3447, allocations: 23.95 kB / 1.292 GB, free: 3.066 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-05/0.3448, allocations: 12 kB / 1.292 GB, free: 3.055 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001421/0.3449, allocations: 143 kB / 1.292 GB, free: 2.914 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3449, allocations: 0 / 1.292 GB, free: 2.914 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003276/0.3452, allocations: 47.94 kB / 1.292 GB, free: 2.867 MB / 0.9825 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.0008802/0.3461, allocations: 0.8349 MB / 1.293 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002506/0.3464, allocations: 96.41 kB / 1.293 GB, free: 1.938 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3464, allocations: 256 / 1.293 GB, free: 1.938 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001047/0.3465, allocations: 63.28 kB / 1.293 GB, free: 1.879 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004249/0.3469, allocations: 55.05 kB / 1.293 GB, free: 1.828 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002397/0.3493, allocations: 1.913 MB / 1.295 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001142/0.3494, allocations: 116.1 kB / 1.295 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.859e-05/0.3495, allocations: 25.61 kB / 1.295 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/0.3496, allocations: 51.42 kB / 1.295 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of SimCode: time 3.1e-07/0.3496, allocations: 0 / 1.295 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03751/0.3871, allocations: 6.482 MB / 1.301 GB, free: 9.312 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.1, allocations: 6.719 kB / 1.301 GB, free: 9.309 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.fmu > Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv. Warning: Get data of variable plotConfiguration.active from file Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv failed! Error: Could not read variable sca.active in file Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv. Warning: Get data of variable sca.active from file Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv failed! Error: Could not read variable scaDel.active in file Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv. Warning: Get data of variable scaDel.active from file Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.16233236901462]