Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001381/0.001381, allocations: 103.3 kB / 16.45 MB, free: 6.449 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.001528/0.001528, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.537/1.537, allocations: 230.6 MB / 252.8 MB, free: 9.137 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.806/2.806, allocations: 476.7 MB / 0.7672 GB, free: 5.234 MB / 0.6231 GB " [Timeout remaining time 177] 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.PlotterActivationLocalInput,fileNamePrefix="Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,fileNamePrefix="Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",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.002085/0.002085, allocations: 74.23 kB / 1.112 GB, free: 1.559 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9335/0.9356, allocations: 169.9 MB / 1.278 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.003675/0.9393, allocations: 1.773 MB / 1.28 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001718/0.941, allocations: 0.9319 MB / 1.281 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.875e-05/0.9411, allocations: 7.938 kB / 1.281 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000182/0.9413, allocations: 19.73 kB / 1.281 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000414/0.9417, allocations: 123.4 kB / 1.281 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003928/0.9421, allocations: 161.6 kB / 1.281 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003373/0.9424, allocations: 239.3 kB / 1.281 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001413/0.9426, allocations: 31.5 kB / 1.281 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001525/0.9427, allocations: 115.7 kB / 1.282 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0131/0.9558, allocations: 1.663 MB / 1.283 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001043/0.9559, allocations: 16 kB / 1.283 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001543/0.9561, allocations: 43.98 kB / 1.283 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.888e-05/0.9562, allocations: 47.7 kB / 1.283 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001581/0.9563, allocations: 91.56 kB / 1.283 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005523/0.9569, allocations: 215.2 kB / 1.284 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.9569, allocations: 0 / 1.284 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.513e-06/0.9569, allocations: 0 / 1.284 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.106e-06/0.9569, allocations: 3.938 kB / 1.284 GB, free: 8.387 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001107/0.958, allocations: 0.5603 MB / 1.284 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.621e-05/0.958, allocations: 12.03 kB / 1.284 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.121e-05/0.9581, allocations: 42.73 kB / 1.284 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000106/0.9582, allocations: 20.8 kB / 1.284 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003868/0.9586, allocations: 251.3 kB / 1.284 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.9586, allocations: 12 kB / 1.284 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.525e-05/0.9587, allocations: 16 kB / 1.284 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000244/0.9589, allocations: 103.4 kB / 1.285 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.9589, allocations: 4 kB / 1.285 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/0.9589, allocations: 11.98 kB / 1.285 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.9589, allocations: 0 / 1.285 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001378/0.9591, allocations: 63.81 kB / 1.285 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001032/0.9601, allocations: 0.5357 MB / 1.285 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001879/0.9603, allocations: 97.06 kB / 1.285 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.65e-05/0.9604, allocations: 29.78 kB / 1.285 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/0.9604, allocations: 7.938 kB / 1.285 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003162/0.9607, allocations: 129.2 kB / 1.285 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=15): time 1.382e-06/0.9607, allocations: 0 / 1.285 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15): time 0.0003858/0.9611, allocations: 161.5 kB / 1.286 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.59e-05/0.9611, allocations: 81.05 kB / 1.286 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002369/0.9614, allocations: 208.4 kB / 1.286 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.937e-05/0.9614, allocations: 33.7 kB / 1.286 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.9615, allocations: 124.6 kB / 1.286 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.689e-05/0.9616, allocations: 31.73 kB / 1.286 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.9617, allocations: 65.66 kB / 1.286 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.9618, allocations: 326.8 kB / 1.286 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.238e-05/0.9619, allocations: 31.98 kB / 1.286 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002765/0.9622, allocations: 145.3 kB / 1.287 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001721/0.9624, allocations: 112.7 kB / 1.287 GB, free: 4.875 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.9624, allocations: 0 / 1.287 GB, free: 4.875 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003099/0.9627, allocations: 153.5 kB / 1.287 GB, free: 4.719 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/0.9627, allocations: 8 kB / 1.287 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.9627, allocations: 7.922 kB / 1.287 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.9627, allocations: 7.938 kB / 1.287 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.094e-05/0.9628, allocations: 12 kB / 1.287 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/0.9628, allocations: 4 kB / 1.287 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002526/0.9631, allocations: 32.03 kB / 1.287 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.721e-05/0.9631, allocations: 11.98 kB / 1.287 GB, free: 4.637 MB / 0.9825 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.0001588/0.9633, allocations: 139.5 kB / 1.287 GB, free: 4.492 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.357e-05/0.9633, allocations: 19.86 kB / 1.287 GB, free: 4.473 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.734e-05/0.9634, allocations: 21.52 kB / 1.287 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.9634, allocations: 0 / 1.287 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.9634, allocations: 0 / 1.287 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.9634, allocations: 4 kB / 1.287 GB, free: 4.441 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007129/0.9641, allocations: 466.2 kB / 1.288 GB, free: 3.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.9641, allocations: 0 / 1.288 GB, free: 3.93 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.228e-05/0.9641, allocations: 11.94 kB / 1.288 GB, free: 3.918 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.9641, allocations: 4 kB / 1.288 GB, free: 3.914 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.9641, allocations: 7.969 kB / 1.288 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.9641, allocations: 0 / 1.288 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.9641, allocations: 4 kB / 1.288 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002948/0.9644, allocations: 239 kB / 1.288 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.37e-05/0.9645, allocations: 93.02 kB / 1.288 GB, free: 3.543 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.097e-05/0.9645, allocations: 11.92 kB / 1.288 GB, free: 3.531 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.9647, allocations: 15.98 kB / 1.288 GB, free: 3.516 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.326e-05/0.9647, allocations: 15.98 kB / 1.288 GB, free: 3.5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.604e-05/0.9648, allocations: 11.92 kB / 1.288 GB, free: 3.488 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001633/0.9649, allocations: 148.2 kB / 1.288 GB, free: 3.344 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.9649, allocations: 4 kB / 1.288 GB, free: 3.34 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003333/0.9653, allocations: 43.94 kB / 1.288 GB, free: 3.297 MB / 0.9825 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.000891/0.9662, allocations: 0.8401 MB / 1.289 GB, free: 2.453 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002527/0.9664, allocations: 97.41 kB / 1.289 GB, free: 2.359 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.9664, allocations: 0 / 1.289 GB, free: 2.359 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.00011/0.9665, allocations: 47.92 kB / 1.289 GB, free: 2.312 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004433/0.967, allocations: 59.03 kB / 1.289 GB, free: 2.262 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002463/0.9694, allocations: 1.945 MB / 1.291 GB, free: 204 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004388/0.9699, allocations: 0.7203 MB / 1.292 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.803e-05/0.97, allocations: 21.53 kB / 1.292 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.9701, allocations: 67.41 kB / 1.292 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of SimCode: time 3.41e-07/0.9701, allocations: 0 / 1.292 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03231/1.002, allocations: 5.573 MB / 1.297 GB, free: 9.977 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.592/9.594, allocations: 4.812 kB / 1.297 GB, free: 9.973 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_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_PlotterActivationLocalInput.fmu > Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.csv. Warning: Get data of variable plotConfiguration.active from file Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.csv failed! Error: Could not read variable sca.active in file Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.csv. Warning: Get data of variable sca.active from file Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.csv failed! Error: Could not read variable scaDel.active in file Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.csv. Warning: Get data of variable scaDel.active from file Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.892304643057287]