Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001842/0.001842, allocations: 108.6 kB / 16.45 MB, free: 6.508 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.00167/0.00167, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.521/1.521, allocations: 230.6 MB / 252.8 MB, free: 9.102 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.301/3.301, allocations: 0.49 GB / 0.7916 GB, free: 33.5 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.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_12_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_12_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.00298/0.00298, allocations: 64.33 kB / 1.149 GB, free: 26.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.375/0.378, allocations: 176.1 MB / 1.321 GB, free: 3.375 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.003324/0.3813, allocations: 1.762 MB / 1.323 GB, free: 1.602 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00176/0.3831, allocations: 0.9436 MB / 1.323 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00012/0.3832, allocations: 0 / 1.323 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002048/0.3834, allocations: 31.73 kB / 1.323 GB, free: 0.625 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.000424/0.3838, allocations: 123.4 kB / 1.324 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004112/0.3842, allocations: 153.3 kB / 1.324 GB, free: 364 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003312/0.3846, allocations: 243.4 kB / 1.324 GB, free: 120 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.3847, allocations: 33.88 kB / 1.324 GB, free: 84 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001594/0.3849, allocations: 111.7 kB / 1.324 GB, free: 15.97 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01672/0.4016, allocations: 2.04 MB / 1.326 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001047/0.4017, allocations: 20 kB / 1.326 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000165/0.4018, allocations: 36 kB / 1.326 GB, free: 14.42 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.279e-05/0.4019, allocations: 39.84 kB / 1.326 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000171/0.4021, allocations: 95.55 kB / 1.326 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005096/0.4026, allocations: 219.1 kB / 1.326 GB, free: 14.07 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.4026, allocations: 0 / 1.326 GB, free: 14.07 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.124e-06/0.4026, allocations: 0 / 1.326 GB, free: 14.07 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.766e-05/0.4026, allocations: 0 / 1.326 GB, free: 14.07 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.00112/0.4038, allocations: 0.5564 MB / 1.327 GB, free: 13.46 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.4038, allocations: 19.92 kB / 1.327 GB, free: 13.44 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.64e-05/0.4039, allocations: 42.73 kB / 1.327 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.455e-05/0.404, allocations: 20.8 kB / 1.327 GB, free: 13.37 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003672/0.4043, allocations: 247.4 kB / 1.327 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/0.4044, allocations: 12 kB / 1.327 GB, free: 13.07 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.935e-05/0.4044, allocations: 15.98 kB / 1.327 GB, free: 13.06 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002135/0.4046, allocations: 89.66 kB / 1.327 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.4046, allocations: 0 / 1.327 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.4046, allocations: 0 / 1.327 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.4046, allocations: 4 kB / 1.327 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001278/0.4048, allocations: 55.97 kB / 1.328 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009383/0.4057, allocations: 464.3 kB / 1.328 GB, free: 12.4 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004869/0.4062, allocations: 134.7 kB / 1.328 GB, free: 12.26 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.676e-05/0.4063, allocations: 28.84 kB / 1.328 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.4063, allocations: 4 kB / 1.328 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003417/0.4066, allocations: 111.3 kB / 1.328 GB, free: 12.11 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 2.746e-06/0.4066, allocations: 7.938 kB / 1.328 GB, free: 12.1 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0004551/0.4071, allocations: 168.5 kB / 1.328 GB, free: 11.93 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.628e-05/0.4071, allocations: 63.39 kB / 1.328 GB, free: 11.86 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002443/0.4074, allocations: 190.8 kB / 1.329 GB, free: 11.65 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.999e-05/0.4074, allocations: 33.7 kB / 1.329 GB, free: 11.61 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.4076, allocations: 120.5 kB / 1.329 GB, free: 11.49 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.764e-05/0.4076, allocations: 39.73 kB / 1.329 GB, free: 11.45 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/0.4077, allocations: 53.67 kB / 1.329 GB, free: 11.39 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.4079, allocations: 334.8 kB / 1.329 GB, free: 11.06 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.732e-05/0.408, allocations: 31.98 kB / 1.329 GB, free: 11.03 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002723/0.4082, allocations: 127.6 kB / 1.329 GB, free: 10.88 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001694/0.4084, allocations: 106.9 kB / 1.329 GB, free: 10.76 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.4084, allocations: 4 kB / 1.329 GB, free: 10.75 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003028/0.4087, allocations: 145.5 kB / 1.33 GB, free: 10.61 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.4087, allocations: 8 kB / 1.33 GB, free: 10.6 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.4087, allocations: 0 / 1.33 GB, free: 10.6 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.4087, allocations: 8.125 kB / 1.33 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.048e-05/0.4088, allocations: 23.92 kB / 1.33 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.4088, allocations: 0 / 1.33 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002412/0.4091, allocations: 23.88 kB / 1.33 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.008e-05/0.4091, allocations: 12 kB / 1.33 GB, free: 10.53 MB / 1.029 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.0001688/0.4093, allocations: 143.5 kB / 1.33 GB, free: 10.38 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.823e-05/0.4093, allocations: 15.91 kB / 1.33 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.09e-05/0.4094, allocations: 25.81 kB / 1.33 GB, free: 10.34 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.4094, allocations: 4 kB / 1.33 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/0.4094, allocations: 3.984 kB / 1.33 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.4094, allocations: 0 / 1.33 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007909/0.4102, allocations: 490.2 kB / 1.33 GB, free: 9.793 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.4102, allocations: 0 / 1.33 GB, free: 9.793 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.902e-05/0.4102, allocations: 7.984 kB / 1.33 GB, free: 9.785 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.4102, allocations: 0 / 1.33 GB, free: 9.785 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.077e-05/0.4102, allocations: 11.94 kB / 1.33 GB, free: 9.773 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.4102, allocations: 4 kB / 1.33 GB, free: 9.77 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.4102, allocations: 3.938 kB / 1.33 GB, free: 9.766 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003258/0.4106, allocations: 235.2 kB / 1.331 GB, free: 9.52 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.04e-05/0.4106, allocations: 89.02 kB / 1.331 GB, free: 9.414 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.891e-05/0.4107, allocations: 7.938 kB / 1.331 GB, free: 9.406 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/0.4108, allocations: 11.98 kB / 1.331 GB, free: 9.395 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.086e-05/0.4109, allocations: 19.97 kB / 1.331 GB, free: 9.375 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.818e-05/0.4109, allocations: 12 kB / 1.331 GB, free: 9.363 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000154/0.4111, allocations: 144.2 kB / 1.331 GB, free: 9.223 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4111, allocations: 0 / 1.331 GB, free: 9.223 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003449/0.4114, allocations: 51.92 kB / 1.331 GB, free: 9.172 MB / 1.029 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.0009347/0.4124, allocations: 0.8343 MB / 1.332 GB, free: 8.336 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002573/0.4126, allocations: 107.7 kB / 1.332 GB, free: 8.23 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4126, allocations: 0 / 1.332 GB, free: 8.23 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.798e-05/0.4127, allocations: 43.92 kB / 1.332 GB, free: 8.188 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004415/0.4132, allocations: 62.48 kB / 1.332 GB, free: 8.133 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003177/0.4163, allocations: 1.888 MB / 1.334 GB, free: 6.141 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00051/0.4168, allocations: 0.7281 MB / 1.334 GB, free: 5.387 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001192/0.417, allocations: 17.55 kB / 1.334 GB, free: 5.371 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/0.4171, allocations: 55.41 kB / 1.335 GB, free: 5.316 MB / 1.029 GB Notification: Performance of SimCode: time 5.41e-07/0.4171, allocations: 3.938 kB / 1.335 GB, free: 5.312 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03544/0.4525, allocations: 5.629 MB / 1.34 GB, free: 15.87 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.45/8.902, allocations: 14.48 kB / 1.34 GB, free: 15.86 MB / 1.045 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_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_PlotterActivationGlobalInputFirstOff.fmu > Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.csv. Warning: Get data of variable plotConfiguration.active from file Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.csv failed! Error: Could not read variable sca.active in file Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.csv. Warning: Get data of variable sca.active from file Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.csv failed! Error: Could not read variable scaDel.active in file Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.csv. Warning: Get data of variable scaDel.active from file Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.828913484932855]