Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.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.001865/0.001865, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002327/0.002327, allocations: 208 kB / 22.24 MB, free: 5.262 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.581/1.581, allocations: 230.6 MB / 256 MB, free: 7.781 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.358/3.358, allocations: 0.5107 GB / 0.8158 GB, free: 17.76 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.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",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.002075/0.002075, allocations: 67.52 kB / 1.186 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4335/0.4356, allocations: 181.9 MB / 1.363 GB, free: 14.04 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003633/0.4392, allocations: 1.735 MB / 1.365 GB, free: 12.29 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001807/0.441, allocations: 0.9135 MB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.716e-05/0.4411, allocations: 0 / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002038/0.4413, allocations: 23.67 kB / 1.366 GB, free: 11.35 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004082/0.4417, allocations: 123.4 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003813/0.4421, allocations: 159.6 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003211/0.4424, allocations: 243.4 kB / 1.366 GB, free: 10.84 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.4425, allocations: 26.02 kB / 1.367 GB, free: 10.81 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000152/0.4427, allocations: 123.7 kB / 1.367 GB, free: 10.69 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01602/0.4587, allocations: 1.974 MB / 1.369 GB, free: 9.242 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.094e-05/0.4588, allocations: 23.94 kB / 1.369 GB, free: 9.219 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001311/0.4589, allocations: 43.98 kB / 1.369 GB, free: 9.176 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.042e-05/0.459, allocations: 35.91 kB / 1.369 GB, free: 9.141 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001291/0.4591, allocations: 83.56 kB / 1.369 GB, free: 9.059 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004207/0.4595, allocations: 223.1 kB / 1.369 GB, free: 8.84 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.4595, allocations: 0 / 1.369 GB, free: 8.84 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.964e-06/0.4596, allocations: 0 / 1.369 GB, free: 8.84 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.824e-06/0.4596, allocations: 0 / 1.369 GB, free: 8.84 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0008976/0.4605, allocations: 492.7 kB / 1.369 GB, free: 8.316 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.4605, allocations: 8.031 kB / 1.369 GB, free: 8.309 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.523e-05/0.4606, allocations: 46.67 kB / 1.369 GB, free: 8.254 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.883e-05/0.4606, allocations: 20.84 kB / 1.369 GB, free: 8.234 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003363/0.461, allocations: 185.6 kB / 1.37 GB, free: 8.027 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.935e-05/0.461, allocations: 8 kB / 1.37 GB, free: 8.02 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.644e-05/0.461, allocations: 19.98 kB / 1.37 GB, free: 8 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002414/0.4613, allocations: 121.1 kB / 1.37 GB, free: 7.871 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.4613, allocations: 0 / 1.37 GB, free: 7.871 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.928e-05/0.4613, allocations: 7.984 kB / 1.37 GB, free: 7.863 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.4613, allocations: 4 kB / 1.37 GB, free: 7.859 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001266/0.4614, allocations: 59.88 kB / 1.37 GB, free: 7.801 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009152/0.4623, allocations: 483.8 kB / 1.37 GB, free: 7.281 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001886/0.4625, allocations: 89.27 kB / 1.37 GB, free: 7.176 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.473e-05/0.4626, allocations: 41.7 kB / 1.37 GB, free: 7.129 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.762e-05/0.4626, allocations: 7.938 kB / 1.37 GB, free: 7.121 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003512/0.463, allocations: 125 kB / 1.371 GB, free: 6.98 MB / 1.061 GB Notification: Performance of pre-optimization done (n=15): time 1.282e-06/0.463, allocations: 0 / 1.371 GB, free: 6.98 MB / 1.061 GB Notification: Performance of matching and sorting (n=15): time 0.0004018/0.4634, allocations: 157.5 kB / 1.371 GB, free: 6.82 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.875e-05/0.4634, allocations: 89.05 kB / 1.371 GB, free: 6.715 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002289/0.4637, allocations: 206.5 kB / 1.371 GB, free: 6.5 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.118e-05/0.4637, allocations: 33.7 kB / 1.371 GB, free: 6.461 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/0.4638, allocations: 116.5 kB / 1.371 GB, free: 6.344 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.887e-05/0.4639, allocations: 43.67 kB / 1.371 GB, free: 6.301 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.998e-05/0.464, allocations: 53.81 kB / 1.371 GB, free: 6.242 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.4642, allocations: 334.8 kB / 1.372 GB, free: 5.906 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.331e-05/0.4642, allocations: 35.98 kB / 1.372 GB, free: 5.871 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00034/0.4646, allocations: 240.1 kB / 1.372 GB, free: 5.578 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001677/0.4647, allocations: 115.1 kB / 1.372 GB, free: 5.445 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.4647, allocations: 0 / 1.372 GB, free: 5.445 MB / 1.061 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002807/0.465, allocations: 172.1 kB / 1.372 GB, free: 5.273 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.465, allocations: 4 kB / 1.372 GB, free: 5.27 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.465, allocations: 4 kB / 1.372 GB, free: 5.266 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.4651, allocations: 4 kB / 1.372 GB, free: 5.262 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.992e-05/0.4652, allocations: 19.92 kB / 1.372 GB, free: 5.242 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.4652, allocations: 0 / 1.372 GB, free: 5.242 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000225/0.4654, allocations: 27.88 kB / 1.372 GB, free: 5.215 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.4654, allocations: 8 kB / 1.372 GB, free: 5.207 MB / 1.061 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.0001617/0.4656, allocations: 148.7 kB / 1.372 GB, free: 5.055 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.252e-05/0.4656, allocations: 15.91 kB / 1.372 GB, free: 5.039 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.839e-05/0.4656, allocations: 17.47 kB / 1.372 GB, free: 5.016 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.4656, allocations: 4 kB / 1.372 GB, free: 5.012 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.4657, allocations: 0 / 1.372 GB, free: 5.012 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.4657, allocations: 7.922 kB / 1.372 GB, free: 5.004 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006426/0.4663, allocations: 417.4 kB / 1.373 GB, free: 4.547 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.4663, allocations: 4 kB / 1.373 GB, free: 4.543 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.543e-05/0.4663, allocations: 7.984 kB / 1.373 GB, free: 4.535 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.4663, allocations: 8.094 kB / 1.373 GB, free: 4.527 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.716e-05/0.4664, allocations: 11.92 kB / 1.373 GB, free: 4.516 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.4664, allocations: 0 / 1.373 GB, free: 4.516 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4664, allocations: 0 / 1.373 GB, free: 4.516 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002668/0.4666, allocations: 239.4 kB / 1.373 GB, free: 4.266 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.731e-05/0.4667, allocations: 11.91 kB / 1.373 GB, free: 4.254 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.804e-05/0.4667, allocations: 7.938 kB / 1.373 GB, free: 4.246 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.4668, allocations: 11.98 kB / 1.373 GB, free: 4.234 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.655e-05/0.4669, allocations: 19.97 kB / 1.373 GB, free: 4.215 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.668e-05/0.4669, allocations: 11.98 kB / 1.373 GB, free: 4.203 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001585/0.4671, allocations: 148.2 kB / 1.373 GB, free: 4.059 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4671, allocations: 0 / 1.373 GB, free: 4.059 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003264/0.4674, allocations: 47.89 kB / 1.373 GB, free: 4.012 MB / 1.061 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.0009857/0.4684, allocations: 0.8382 MB / 1.374 GB, free: 3.168 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002544/0.4686, allocations: 99.84 kB / 1.374 GB, free: 3.07 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4686, allocations: 0 / 1.374 GB, free: 3.07 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001058/0.4688, allocations: 47.92 kB / 1.374 GB, free: 3.023 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004525/0.4692, allocations: 59.3 kB / 1.374 GB, free: 2.969 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002487/0.4717, allocations: 1.931 MB / 1.376 GB, free: 0.9141 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001354/0.4718, allocations: 112.1 kB / 1.376 GB, free: 0.7891 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.96e-05/0.4719, allocations: 17.64 kB / 1.376 GB, free: 0.7695 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001215/0.472, allocations: 59.41 kB / 1.376 GB, free: 0.7109 MB / 1.061 GB Notification: Performance of SimCode: time 9.32e-07/0.472, allocations: 0 / 1.376 GB, free: 0.7109 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03785/0.5099, allocations: 6.421 MB / 1.383 GB, free: 10.48 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/12, allocations: 0 / 1.383 GB, free: 10.48 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_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_PlotterActivationLocalInputFirstOff.fmu > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.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.PlotterActivationLocalInputFirstOff_res.csv. Warning: Get data of variable plotConfiguration.active from file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.csv failed! Error: Could not read variable sca.active in file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.csv. Warning: Get data of variable sca.active from file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.csv failed! Error: Could not read variable scaDel.active in file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.csv. Warning: Get data of variable scaDel.active from file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.29792831465602]