Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001344/0.001344, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001517/0.001517, allocations: 220.1 kB / 22.26 MB, free: 5.121 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.488/1.488, allocations: 230.6 MB / 256 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.309/3.309, allocations: 0.49 GB / 0.7951 GB, free: 33.48 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,fileNamePrefix="Buildings_12_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.002068/0.002068, allocations: 73.36 kB / 1.154 GB, free: 25.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3946/0.3966, allocations: 176.1 MB / 1.326 GB, free: 2.008 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.003543/0.4002, allocations: 1.766 MB / 1.328 GB, free: 236 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001837/0.402, allocations: 0.963 MB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.312e-05/0.4021, allocations: 3.938 kB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002208/0.4023, allocations: 31.72 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003949/0.4027, allocations: 119.5 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004013/0.4031, allocations: 163.1 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000321/0.4034, allocations: 247.3 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001468/0.4036, allocations: 34 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001454/0.4037, allocations: 115.6 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01306/0.4168, allocations: 1.661 MB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.045e-05/0.4169, allocations: 20 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001558/0.417, allocations: 39.98 kB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.782e-05/0.4171, allocations: 47.83 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001572/0.4173, allocations: 87.52 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004288/0.4177, allocations: 219.1 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.4177, allocations: 3.938 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.014e-06/0.4177, allocations: 4 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.4177, allocations: 0 / 1.331 GB, free: 12.92 MB / 1.029 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.0009184/0.4186, allocations: 0.4928 MB / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.4187, allocations: 12.03 kB / 1.332 GB, free: 12.38 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.455e-05/0.4187, allocations: 34.75 kB / 1.332 GB, free: 12.33 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.213e-05/0.4188, allocations: 24.8 kB / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003085/0.4191, allocations: 185.6 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.4191, allocations: 12 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.241e-05/0.4192, allocations: 12 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000227/0.4194, allocations: 111.3 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.4194, allocations: 0 / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/0.4194, allocations: 12 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.4194, allocations: 0 / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001211/0.4196, allocations: 55.91 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000936/0.4205, allocations: 0.5152 MB / 1.333 GB, free: 11.33 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001918/0.4207, allocations: 97.06 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.827e-05/0.4208, allocations: 37.77 kB / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.4208, allocations: 3.938 kB / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003298/0.4211, allocations: 125.2 kB / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.322e-06/0.4211, allocations: 0 / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.0003726/0.4215, allocations: 161.5 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.301e-05/0.4215, allocations: 85.09 kB / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00022/0.4218, allocations: 199.1 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.092e-05/0.4218, allocations: 33.7 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.4219, allocations: 136.6 kB / 1.334 GB, free: 10.38 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.351e-05/0.4219, allocations: 27.75 kB / 1.334 GB, free: 10.35 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.728e-05/0.422, allocations: 61.67 kB / 1.334 GB, free: 10.29 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.4222, allocations: 330.8 kB / 1.334 GB, free: 9.953 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.612e-05/0.4223, allocations: 27.98 kB / 1.334 GB, free: 9.926 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002626/0.4225, allocations: 143.2 kB / 1.334 GB, free: 9.754 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001652/0.4227, allocations: 115.9 kB / 1.334 GB, free: 9.621 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.4227, allocations: 4 kB / 1.334 GB, free: 9.617 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000259/0.4229, allocations: 157.4 kB / 1.334 GB, free: 9.457 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.423, allocations: 4 kB / 1.334 GB, free: 9.453 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.423, allocations: 4 kB / 1.334 GB, free: 9.449 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.423, allocations: 4 kB / 1.334 GB, free: 9.445 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.277e-05/0.4231, allocations: 15.94 kB / 1.334 GB, free: 9.43 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-05/0.4231, allocations: 7.969 kB / 1.334 GB, free: 9.422 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002126/0.4233, allocations: 32.03 kB / 1.334 GB, free: 9.391 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/0.4233, allocations: 15.94 kB / 1.334 GB, free: 9.375 MB / 1.029 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.0001498/0.4235, allocations: 136 kB / 1.335 GB, free: 9.23 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.758e-05/0.4235, allocations: 19.89 kB / 1.335 GB, free: 9.211 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.243e-05/0.4236, allocations: 25.41 kB / 1.335 GB, free: 9.18 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.4236, allocations: 4 kB / 1.335 GB, free: 9.176 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.4236, allocations: 0 / 1.335 GB, free: 9.176 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.4236, allocations: 0 / 1.335 GB, free: 9.176 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006517/0.4242, allocations: 442.6 kB / 1.335 GB, free: 8.695 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.4242, allocations: 0 / 1.335 GB, free: 8.695 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.28e-05/0.4243, allocations: 4 kB / 1.335 GB, free: 8.691 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.4243, allocations: 0 / 1.335 GB, free: 8.691 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.844e-05/0.4243, allocations: 11.92 kB / 1.335 GB, free: 8.68 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.4243, allocations: 0 / 1.335 GB, free: 8.68 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.4243, allocations: 3.938 kB / 1.335 GB, free: 8.676 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002707/0.4245, allocations: 235.4 kB / 1.335 GB, free: 8.43 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.495e-05/0.4246, allocations: 15.89 kB / 1.335 GB, free: 8.414 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.351e-05/0.4246, allocations: 11.94 kB / 1.335 GB, free: 8.402 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.4247, allocations: 11.98 kB / 1.335 GB, free: 8.391 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.12e-05/0.4248, allocations: 19.97 kB / 1.335 GB, free: 8.371 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.499e-05/0.4248, allocations: 8 kB / 1.335 GB, free: 8.363 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000141/0.425, allocations: 140.5 kB / 1.335 GB, free: 8.227 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.425, allocations: 4 kB / 1.335 GB, free: 8.223 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003161/0.4253, allocations: 51.92 kB / 1.336 GB, free: 8.172 MB / 1.029 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.0009018/0.4262, allocations: 0.8365 MB / 1.336 GB, free: 7.332 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002457/0.4264, allocations: 100 kB / 1.336 GB, free: 7.234 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.4264, allocations: 4.125 kB / 1.336 GB, free: 7.23 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.614e-05/0.4265, allocations: 47.92 kB / 1.336 GB, free: 7.184 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004275/0.427, allocations: 50.77 kB / 1.337 GB, free: 7.137 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002434/0.4294, allocations: 1.943 MB / 1.338 GB, free: 5.07 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004231/0.4298, allocations: 0.7164 MB / 1.339 GB, free: 4.324 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.356e-05/0.4299, allocations: 29.61 kB / 1.339 GB, free: 4.297 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/0.43, allocations: 55.42 kB / 1.339 GB, free: 4.242 MB / 1.029 GB Notification: Performance of SimCode: time 3.3e-07/0.43, allocations: 4 kB / 1.339 GB, free: 4.238 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03735/0.4674, allocations: 5.755 MB / 1.345 GB, free: 14.65 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.54, allocations: 12.97 kB / 1.345 GB, free: 14.65 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.fmu > Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.csv. Warning: Get data of variable plotConfiguration.active from file Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.csv failed! Error: Could not read variable sca.active in file Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.csv. Warning: Get data of variable sca.active from file Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.csv failed! Error: Could not read variable scaDel.active in file Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.csv. Warning: Get data of variable scaDel.active from file Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.70008385300025]