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.001477/0.001477, 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.001661/0.001661, allocations: 214.3 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.487/1.487, allocations: 230.6 MB / 256 MB, free: 7.836 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.861/2.861, allocations: 476 MB / 0.7699 GB, free: 4.777 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.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.002384/0.002384, allocations: 66.28 kB / 1.117 GB, free: 41.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3897/0.3921, allocations: 170 MB / 1.283 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.004188/0.3963, allocations: 1.726 MB / 1.284 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002126/0.3984, allocations: 0.9085 MB / 1.285 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001458/0.3985, allocations: 0 / 1.285 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002692/0.3988, allocations: 35.67 kB / 1.285 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005025/0.3993, allocations: 119.4 kB / 1.285 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004789/0.3998, allocations: 157.6 kB / 1.285 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004264/0.4002, allocations: 239.4 kB / 1.286 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001487/0.4004, allocations: 33.72 kB / 1.286 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002056/0.4006, allocations: 107.7 kB / 1.286 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01369/0.4143, allocations: 1.659 MB / 1.287 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001178/0.4144, allocations: 20 kB / 1.287 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001752/0.4145, allocations: 35.98 kB / 1.287 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.4146, allocations: 43.89 kB / 1.287 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001616/0.4148, allocations: 79.56 kB / 1.288 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005541/0.4154, allocations: 227.1 kB / 1.288 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 1.053e-05/0.4154, allocations: 4 kB / 1.288 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.615e-06/0.4154, allocations: 0 / 1.288 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.248e-05/0.4154, allocations: 0 / 1.288 GB, free: 7.582 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.001101/0.4165, allocations: 490.8 kB / 1.288 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 6.241e-05/0.4166, allocations: 8.031 kB / 1.288 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.224e-05/0.4166, allocations: 50.67 kB / 1.288 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.661e-05/0.4167, allocations: 24.8 kB / 1.288 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003973/0.4171, allocations: 185.6 kB / 1.289 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.588e-05/0.4171, allocations: 8 kB / 1.289 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.653e-05/0.4172, allocations: 20 kB / 1.289 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003579/0.4176, allocations: 111.3 kB / 1.289 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.4176, allocations: 0 / 1.289 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.073e-05/0.4176, allocations: 7.984 kB / 1.289 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.4176, allocations: 7.938 kB / 1.289 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00014/0.4177, allocations: 55.88 kB / 1.289 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001149/0.4189, allocations: 483.7 kB / 1.289 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002234/0.4191, allocations: 97.23 kB / 1.289 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.195e-05/0.4192, allocations: 37.77 kB / 1.289 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.787e-05/0.4192, allocations: 7.875 kB / 1.289 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003651/0.4196, allocations: 129 kB / 1.289 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=15): time 1.603e-06/0.4196, allocations: 0 / 1.289 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15): time 0.0004289/0.42, allocations: 149.6 kB / 1.29 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.821e-05/0.4201, allocations: 93.02 kB / 1.29 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002848/0.4204, allocations: 209.2 kB / 1.29 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.372e-05/0.4204, allocations: 33.7 kB / 1.29 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/0.4206, allocations: 120.5 kB / 1.29 GB, free: 5.078 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.084e-05/0.4206, allocations: 31.75 kB / 1.29 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001246/0.4207, allocations: 57.67 kB / 1.29 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001813/0.4209, allocations: 330.8 kB / 1.29 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.687e-05/0.421, allocations: 40.11 kB / 1.29 GB, free: 4.613 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003712/0.4213, allocations: 244.1 kB / 1.291 GB, free: 4.316 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001915/0.4215, allocations: 117 kB / 1.291 GB, free: 4.184 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.4215, allocations: 0 / 1.291 GB, free: 4.184 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003397/0.4219, allocations: 153.6 kB / 1.291 GB, free: 4.027 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.632e-05/0.4219, allocations: 12.03 kB / 1.291 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.4219, allocations: 0 / 1.291 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.123e-05/0.422, allocations: 4 kB / 1.291 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.4221, allocations: 19.94 kB / 1.291 GB, free: 3.992 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.631e-05/0.4221, allocations: 3.984 kB / 1.291 GB, free: 3.988 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002585/0.4223, allocations: 31.88 kB / 1.291 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/0.4224, allocations: 4 kB / 1.291 GB, free: 3.953 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.000196/0.4226, allocations: 143.4 kB / 1.291 GB, free: 3.805 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.801e-05/0.4226, allocations: 23.84 kB / 1.291 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.22e-05/0.4227, allocations: 25.47 kB / 1.291 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.4227, allocations: 0 / 1.291 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.4227, allocations: 0 / 1.291 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.4227, allocations: 0 / 1.291 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007609/0.4234, allocations: 421.4 kB / 1.292 GB, free: 3.289 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.4234, allocations: 0 / 1.292 GB, free: 3.289 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.909e-05/0.4235, allocations: 4 kB / 1.292 GB, free: 3.285 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.846e-06/0.4235, allocations: 4 kB / 1.292 GB, free: 3.281 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.112e-05/0.4235, allocations: 11.92 kB / 1.292 GB, free: 3.27 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.4235, allocations: 8 kB / 1.292 GB, free: 3.262 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4235, allocations: 0 / 1.292 GB, free: 3.262 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003328/0.4238, allocations: 238.5 kB / 1.292 GB, free: 3.012 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.838e-05/0.4239, allocations: 15.89 kB / 1.292 GB, free: 2.996 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.137e-05/0.4239, allocations: 7.938 kB / 1.292 GB, free: 2.988 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/0.424, allocations: 11.98 kB / 1.292 GB, free: 2.977 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.391e-05/0.4241, allocations: 19.97 kB / 1.292 GB, free: 2.957 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.501e-05/0.4242, allocations: 8.094 kB / 1.292 GB, free: 2.949 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001956/0.4244, allocations: 151 kB / 1.292 GB, free: 2.801 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.4244, allocations: 0 / 1.292 GB, free: 2.801 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003624/0.4247, allocations: 51.92 kB / 1.292 GB, free: 2.75 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.001135/0.4259, allocations: 0.8386 MB / 1.293 GB, free: 1.91 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003064/0.4262, allocations: 99.83 kB / 1.293 GB, free: 1.812 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4262, allocations: 0 / 1.293 GB, free: 1.812 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000114/0.4263, allocations: 43.92 kB / 1.293 GB, free: 1.77 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004912/0.4268, allocations: 60.17 kB / 1.293 GB, free: 1.715 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002987/0.4298, allocations: 1.949 MB / 1.295 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001458/0.4299, allocations: 104.1 kB / 1.295 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000128/0.43, allocations: 33.61 kB / 1.295 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001264/0.4302, allocations: 59.41 kB / 1.295 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of SimCode: time 7.42e-07/0.4302, allocations: 0 / 1.295 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03837/0.4685, allocations: 6.423 MB / 1.301 GB, free: 9.219 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/12.05, allocations: 4.688 kB / 1.301 GB, free: 9.215 MB / 0.9981 GB " [Timeout remaining time 287] (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: 19.10646055173129]