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.001834/0.001834, allocations: 99.75 kB / 18.94 MB, free: 2.832 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.002008/0.002008, allocations: 217.3 kB / 22.25 MB, free: 5.105 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.579/1.579, allocations: 230.6 MB / 256 MB, free: 7.816 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.251/3.251, allocations: 0.49 GB / 0.7951 GB, free: 35.39 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.002077/0.002077, allocations: 62.5 kB / 1.154 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3734/0.3754, allocations: 176.1 MB / 1.326 GB, free: 1.57 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.003874/0.3793, allocations: 1.735 MB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002026/0.3813, allocations: 0.9047 MB / 1.328 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001438/0.3815, allocations: 0 / 1.328 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002445/0.3817, allocations: 27.72 kB / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005215/0.3822, allocations: 123.4 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004704/0.3827, allocations: 156.8 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003977/0.3831, allocations: 243.3 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001598/0.3833, allocations: 42 kB / 1.329 GB, free: 14.33 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002113/0.3835, allocations: 111.6 kB / 1.329 GB, free: 14.22 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01364/0.3971, allocations: 1.673 MB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001279/0.3973, allocations: 20 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001679/0.3974, allocations: 36 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.445e-05/0.3975, allocations: 47.83 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001403/0.3977, allocations: 75.62 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000511/0.3982, allocations: 223.1 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.3982, allocations: 0 / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.034e-06/0.3982, allocations: 0 / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.209e-05/0.3982, allocations: 0 / 1.331 GB, free: 12.59 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.001127/0.3993, allocations: 0.4928 MB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.3994, allocations: 8.031 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.166e-05/0.3994, allocations: 38.75 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001091/0.3995, allocations: 28.78 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003833/0.3999, allocations: 185.5 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.113e-05/0.3999, allocations: 8 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.692e-05/0.4, allocations: 16 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002622/0.4002, allocations: 111.4 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.4003, allocations: 0 / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.993e-05/0.4003, allocations: 4 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.4003, allocations: 4 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001313/0.4004, allocations: 51.91 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001029/0.4014, allocations: 491.7 kB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002065/0.4017, allocations: 93.12 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.485e-05/0.4017, allocations: 41.89 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.4017, allocations: 11.86 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002498/0.402, allocations: 117.1 kB / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.302e-06/0.402, allocations: 0 / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.0004355/0.4024, allocations: 161.5 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.139e-05/0.4025, allocations: 81.11 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002755/0.4028, allocations: 211.1 kB / 1.333 GB, free: 10.26 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.428e-05/0.4028, allocations: 37.83 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/0.403, allocations: 124.5 kB / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.645e-05/0.403, allocations: 31.75 kB / 1.333 GB, free: 10.06 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001328/0.4031, allocations: 57.67 kB / 1.333 GB, free: 9.996 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001954/0.4033, allocations: 326.8 kB / 1.334 GB, free: 9.668 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.546e-05/0.4034, allocations: 39.92 kB / 1.334 GB, free: 9.629 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003626/0.4038, allocations: 253.4 kB / 1.334 GB, free: 9.324 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001791/0.404, allocations: 109.9 kB / 1.334 GB, free: 9.195 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.404, allocations: 0 / 1.334 GB, free: 9.195 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003068/0.4043, allocations: 157.3 kB / 1.334 GB, free: 9.035 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.4043, allocations: 8 kB / 1.334 GB, free: 9.027 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.4043, allocations: 3.984 kB / 1.334 GB, free: 9.023 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/0.4043, allocations: 4 kB / 1.334 GB, free: 9.02 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.482e-05/0.4044, allocations: 19.94 kB / 1.334 GB, free: 9 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/0.4044, allocations: 3.984 kB / 1.334 GB, free: 8.996 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002452/0.4047, allocations: 40.02 kB / 1.334 GB, free: 8.957 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.4047, allocations: 4 kB / 1.334 GB, free: 8.953 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.0001836/0.4049, allocations: 140 kB / 1.334 GB, free: 8.805 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.66e-05/0.4049, allocations: 19.91 kB / 1.334 GB, free: 8.785 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.029e-05/0.405, allocations: 25.45 kB / 1.335 GB, free: 8.754 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.405, allocations: 0 / 1.335 GB, free: 8.754 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.405, allocations: 0 / 1.335 GB, free: 8.754 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.405, allocations: 0 / 1.335 GB, free: 8.754 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006697/0.4057, allocations: 427.9 kB / 1.335 GB, free: 8.289 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.4057, allocations: 0 / 1.335 GB, free: 8.289 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.472e-05/0.4057, allocations: 4 kB / 1.335 GB, free: 8.285 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.4057, allocations: 4 kB / 1.335 GB, free: 8.281 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/0.4057, allocations: 7.938 kB / 1.335 GB, free: 8.273 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.4057, allocations: 0 / 1.335 GB, free: 8.273 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.4057, allocations: 4 kB / 1.335 GB, free: 8.27 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000284/0.406, allocations: 239.6 kB / 1.335 GB, free: 8.02 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.505e-05/0.406, allocations: 11.91 kB / 1.335 GB, free: 8.008 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.43e-05/0.4061, allocations: 11.92 kB / 1.335 GB, free: 7.996 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001353/0.4062, allocations: 15.98 kB / 1.335 GB, free: 7.98 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.161e-05/0.4063, allocations: 19.97 kB / 1.335 GB, free: 7.961 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.909e-05/0.4063, allocations: 11.94 kB / 1.335 GB, free: 7.949 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001599/0.4065, allocations: 144.4 kB / 1.335 GB, free: 7.809 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4065, allocations: 0 / 1.335 GB, free: 7.809 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003474/0.4068, allocations: 43.94 kB / 1.335 GB, free: 7.766 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.001015/0.4078, allocations: 0.8402 MB / 1.336 GB, free: 6.922 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002622/0.4081, allocations: 99.41 kB / 1.336 GB, free: 6.828 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4081, allocations: 4.062 kB / 1.336 GB, free: 6.824 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001012/0.4082, allocations: 47.91 kB / 1.336 GB, free: 6.777 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004546/0.4087, allocations: 56.2 kB / 1.336 GB, free: 6.727 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002622/0.4113, allocations: 1.938 MB / 1.338 GB, free: 4.664 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001529/0.4114, allocations: 112.2 kB / 1.338 GB, free: 4.531 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001083/0.4115, allocations: 29.7 kB / 1.338 GB, free: 4.5 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001122/0.4117, allocations: 55.41 kB / 1.339 GB, free: 4.449 MB / 1.029 GB Notification: Performance of SimCode: time 7.51e-07/0.4117, allocations: 0 / 1.339 GB, free: 4.449 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03671/0.4484, allocations: 6.455 MB / 1.345 GB, free: 14.2 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/11.99, allocations: 1.891 kB / 1.345 GB, free: 14.2 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: 19.039586663013324]