Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.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.001341/0.001341, 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.001574/0.001574, allocations: 210.5 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.561/1.561, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 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.472/3.472, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",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.00206/0.00206, allocations: 62.64 kB / 1.186 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4384/0.4404, allocations: 181.9 MB / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.003916/0.4443, allocations: 1.731 MB / 1.365 GB, free: 12.36 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002038/0.4464, allocations: 0.9018 MB / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001461/0.4465, allocations: 7.938 kB / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002315/0.4467, allocations: 31.66 kB / 1.366 GB, free: 11.42 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004936/0.4472, allocations: 119.5 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005025/0.4477, allocations: 155.7 kB / 1.366 GB, free: 11.15 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004043/0.4481, allocations: 243.4 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001453/0.4483, allocations: 26.02 kB / 1.367 GB, free: 10.88 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002051/0.4485, allocations: 115.6 kB / 1.367 GB, free: 10.77 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01643/0.4649, allocations: 2.03 MB / 1.369 GB, free: 9.277 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 8.344e-05/0.465, allocations: 20 kB / 1.369 GB, free: 9.258 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001455/0.4652, allocations: 36 kB / 1.369 GB, free: 9.223 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.216e-05/0.4652, allocations: 35.84 kB / 1.369 GB, free: 9.188 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001389/0.4654, allocations: 87.55 kB / 1.369 GB, free: 9.102 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004254/0.4658, allocations: 219.2 kB / 1.369 GB, free: 8.887 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.4658, allocations: 4 kB / 1.369 GB, free: 8.883 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.365e-06/0.4658, allocations: 0 / 1.369 GB, free: 8.883 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.623e-06/0.4658, allocations: 0 / 1.369 GB, free: 8.883 MB / 1.061 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.0009009/0.4667, allocations: 492.7 kB / 1.369 GB, free: 8.359 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.4668, allocations: 11.97 kB / 1.369 GB, free: 8.348 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.863e-05/0.4668, allocations: 38.75 kB / 1.369 GB, free: 8.301 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.758e-05/0.4669, allocations: 20.83 kB / 1.37 GB, free: 8.281 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000316/0.4672, allocations: 189.6 kB / 1.37 GB, free: 8.07 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.4672, allocations: 12 kB / 1.37 GB, free: 8.059 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.506e-05/0.4673, allocations: 12 kB / 1.37 GB, free: 8.047 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00022/0.4675, allocations: 95.09 kB / 1.37 GB, free: 7.949 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.4675, allocations: 0 / 1.37 GB, free: 7.949 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.056e-05/0.4675, allocations: 11.98 kB / 1.37 GB, free: 7.938 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.423e-06/0.4675, allocations: 0 / 1.37 GB, free: 7.938 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001221/0.4676, allocations: 47.97 kB / 1.37 GB, free: 7.891 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008779/0.4685, allocations: 403.6 kB / 1.37 GB, free: 7.453 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004485/0.469, allocations: 126.7 kB / 1.37 GB, free: 7.32 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.824e-05/0.469, allocations: 28.84 kB / 1.37 GB, free: 7.289 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.276e-05/0.4691, allocations: 4 kB / 1.37 GB, free: 7.285 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003171/0.4694, allocations: 118.9 kB / 1.371 GB, free: 7.16 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 1.533e-06/0.4694, allocations: 4 kB / 1.371 GB, free: 7.156 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.0003851/0.4698, allocations: 157.5 kB / 1.371 GB, free: 6.996 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.628e-05/0.4698, allocations: 59.41 kB / 1.371 GB, free: 6.926 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002314/0.4701, allocations: 198.5 kB / 1.371 GB, free: 6.719 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.475e-05/0.4701, allocations: 33.7 kB / 1.371 GB, free: 6.68 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.4702, allocations: 120.5 kB / 1.371 GB, free: 6.559 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.401e-05/0.4703, allocations: 43.67 kB / 1.371 GB, free: 6.516 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.4704, allocations: 57.67 kB / 1.371 GB, free: 6.453 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002186/0.4706, allocations: 330.8 kB / 1.371 GB, free: 6.121 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.762e-05/0.4707, allocations: 39.92 kB / 1.372 GB, free: 6.082 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003557/0.471, allocations: 243.8 kB / 1.372 GB, free: 5.793 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001698/0.4712, allocations: 102.3 kB / 1.372 GB, free: 5.68 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.4712, allocations: 0 / 1.372 GB, free: 5.68 MB / 1.061 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003091/0.4715, allocations: 149.5 kB / 1.372 GB, free: 5.527 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/0.4715, allocations: 8 kB / 1.372 GB, free: 5.52 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.4715, allocations: 0 / 1.372 GB, free: 5.52 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.84e-05/0.4716, allocations: 8.125 kB / 1.372 GB, free: 5.512 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.007e-05/0.4717, allocations: 16 kB / 1.372 GB, free: 5.496 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.511e-05/0.4717, allocations: 7.922 kB / 1.372 GB, free: 5.488 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002116/0.4719, allocations: 23.88 kB / 1.372 GB, free: 5.465 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.608e-05/0.4719, allocations: 8 kB / 1.372 GB, free: 5.457 MB / 1.061 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.0002071/0.4721, allocations: 143.6 kB / 1.372 GB, free: 5.309 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.345e-05/0.4721, allocations: 15.91 kB / 1.372 GB, free: 5.293 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.419e-05/0.4722, allocations: 21.8 kB / 1.372 GB, free: 5.266 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.4722, allocations: 0 / 1.372 GB, free: 5.266 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.161e-05/0.4722, allocations: 4 kB / 1.372 GB, free: 5.262 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.4722, allocations: 0 / 1.372 GB, free: 5.262 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008455/0.4731, allocations: 449.3 kB / 1.373 GB, free: 4.773 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.247e-06/0.4731, allocations: 7.984 kB / 1.373 GB, free: 4.766 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.674e-05/0.4731, allocations: 11.94 kB / 1.373 GB, free: 4.754 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.4731, allocations: 0 / 1.373 GB, free: 4.754 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.989e-05/0.4731, allocations: 7.938 kB / 1.373 GB, free: 4.746 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.4731, allocations: 0 / 1.373 GB, free: 4.746 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.4731, allocations: 0 / 1.373 GB, free: 4.746 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003173/0.4735, allocations: 234.3 kB / 1.373 GB, free: 4.504 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.315e-05/0.4735, allocations: 19.91 kB / 1.373 GB, free: 4.484 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.964e-05/0.4735, allocations: 3.938 kB / 1.373 GB, free: 4.48 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/0.4737, allocations: 19.97 kB / 1.373 GB, free: 4.461 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.78e-05/0.4738, allocations: 27.84 kB / 1.373 GB, free: 4.434 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.944e-05/0.4738, allocations: 4 kB / 1.373 GB, free: 4.43 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000159/0.4739, allocations: 144.2 kB / 1.373 GB, free: 4.289 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4739, allocations: 0 / 1.373 GB, free: 4.289 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003271/0.4743, allocations: 47.94 kB / 1.373 GB, free: 4.242 MB / 1.061 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.001126/0.4754, allocations: 0.8464 MB / 1.374 GB, free: 3.395 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002892/0.4757, allocations: 99.73 kB / 1.374 GB, free: 3.297 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4757, allocations: 0 / 1.374 GB, free: 3.297 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001059/0.4758, allocations: 51.92 kB / 1.374 GB, free: 3.246 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004734/0.4763, allocations: 58.06 kB / 1.374 GB, free: 3.191 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002541/0.4788, allocations: 1.885 MB / 1.376 GB, free: 1.199 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001249/0.4789, allocations: 108.1 kB / 1.376 GB, free: 1.074 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001002/0.479, allocations: 25.62 kB / 1.376 GB, free: 1.051 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004279/0.4795, allocations: 59.41 kB / 1.376 GB, free: 0.9922 MB / 1.061 GB Notification: Performance of SimCode: time 3.91e-07/0.4795, allocations: 0 / 1.376 GB, free: 0.9922 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03694/0.5164, allocations: 6.473 MB / 1.383 GB, free: 10.71 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/12.02, allocations: 4.156 kB / 1.383 GB, free: 10.71 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_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_PlotterActivationGlobalInputFirstOff.fmu > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.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.PlotterActivationGlobalInputFirstOff_res.csv. Warning: Get data of variable plotConfiguration.active from file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.csv failed! Error: Could not read variable sca.active in file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.csv. Warning: Get data of variable sca.active from file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.csv failed! Error: Could not read variable scaDel.active in file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.csv. Warning: Get data of variable scaDel.active from file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.389215979725122]