Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001743/0.001743, 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.002125/0.002125, allocations: 210.5 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.533/1.533, allocations: 230.6 MB / 256 MB, free: 7.789 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.486/3.486, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 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.PlotterActivationLocalInput,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,fileNamePrefix="Buildings_latest_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.002109/0.002109, allocations: 74.89 kB / 1.186 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3802/0.3823, allocations: 181.9 MB / 1.363 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.003613/0.386, allocations: 1.715 MB / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001927/0.3879, allocations: 0.9135 MB / 1.366 GB, free: 11.42 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001179/0.388, allocations: 4 kB / 1.366 GB, free: 11.42 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002051/0.3882, allocations: 27.67 kB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004484/0.3887, allocations: 119.4 kB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004315/0.3891, allocations: 159.6 kB / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003657/0.3894, allocations: 239.4 kB / 1.366 GB, free: 10.88 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001419/0.3896, allocations: 34.02 kB / 1.366 GB, free: 10.85 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000197/0.3898, allocations: 115.7 kB / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01387/0.4037, allocations: 1.658 MB / 1.368 GB, free: 9.508 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 8.267e-05/0.4037, allocations: 23.92 kB / 1.368 GB, free: 9.484 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001259/0.4039, allocations: 36 kB / 1.368 GB, free: 9.449 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.247e-05/0.4039, allocations: 43.89 kB / 1.368 GB, free: 9.406 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001239/0.4041, allocations: 83.56 kB / 1.368 GB, free: 9.324 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004069/0.4045, allocations: 223.1 kB / 1.369 GB, free: 9.105 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.4045, allocations: 0 / 1.369 GB, free: 9.105 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.713e-06/0.4045, allocations: 0 / 1.369 GB, free: 9.105 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.4045, allocations: 8 kB / 1.369 GB, free: 9.098 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.0008772/0.4054, allocations: 484.7 kB / 1.369 GB, free: 8.582 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.4054, allocations: 12.03 kB / 1.369 GB, free: 8.57 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.81e-05/0.4055, allocations: 42.67 kB / 1.369 GB, free: 8.52 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.01e-05/0.4055, allocations: 20.84 kB / 1.369 GB, free: 8.5 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000325/0.4059, allocations: 185.6 kB / 1.369 GB, free: 8.293 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.4059, allocations: 12 kB / 1.369 GB, free: 8.281 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.825e-05/0.4059, allocations: 16 kB / 1.369 GB, free: 8.266 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002289/0.4061, allocations: 117 kB / 1.369 GB, free: 8.141 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.4061, allocations: 0 / 1.369 GB, free: 8.141 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.952e-05/0.4062, allocations: 11.98 kB / 1.369 GB, free: 8.129 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.4062, allocations: 0 / 1.369 GB, free: 8.129 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001274/0.4063, allocations: 59.88 kB / 1.37 GB, free: 8.07 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008955/0.4072, allocations: 479.7 kB / 1.37 GB, free: 7.555 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000195/0.4074, allocations: 101.2 kB / 1.37 GB, free: 7.438 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.953e-05/0.4075, allocations: 37.7 kB / 1.37 GB, free: 7.395 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.4075, allocations: 7.938 kB / 1.37 GB, free: 7.387 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002268/0.4077, allocations: 124.2 kB / 1.37 GB, free: 7.25 MB / 1.061 GB Notification: Performance of pre-optimization done (n=15): time 1.353e-06/0.4077, allocations: 0 / 1.37 GB, free: 7.25 MB / 1.061 GB Notification: Performance of matching and sorting (n=15): time 0.0003787/0.4081, allocations: 157.6 kB / 1.37 GB, free: 7.09 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.037e-05/0.4082, allocations: 93.03 kB / 1.37 GB, free: 6.98 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002351/0.4084, allocations: 206.6 kB / 1.371 GB, free: 6.766 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.999e-05/0.4084, allocations: 33.7 kB / 1.371 GB, free: 6.727 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.4085, allocations: 116.5 kB / 1.371 GB, free: 6.609 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.321e-05/0.4086, allocations: 43.69 kB / 1.371 GB, free: 6.566 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.4087, allocations: 57.67 kB / 1.371 GB, free: 6.504 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.4088, allocations: 330.8 kB / 1.371 GB, free: 6.172 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.125e-05/0.4089, allocations: 31.98 kB / 1.371 GB, free: 6.141 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003473/0.4093, allocations: 246.4 kB / 1.372 GB, free: 5.844 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001703/0.4094, allocations: 116.4 kB / 1.372 GB, free: 5.711 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.4094, allocations: 0 / 1.372 GB, free: 5.711 MB / 1.061 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000296/0.4097, allocations: 161.4 kB / 1.372 GB, free: 5.547 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.4097, allocations: 4 kB / 1.372 GB, free: 5.543 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.4097, allocations: 0 / 1.372 GB, free: 5.543 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.4098, allocations: 4 kB / 1.372 GB, free: 5.539 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.964e-05/0.4099, allocations: 23.92 kB / 1.372 GB, free: 5.516 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.4099, allocations: 4.156 kB / 1.372 GB, free: 5.512 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002357/0.4101, allocations: 31.88 kB / 1.372 GB, free: 5.48 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/0.4101, allocations: 4 kB / 1.372 GB, free: 5.477 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.0001685/0.4103, allocations: 148.6 kB / 1.372 GB, free: 5.324 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.918e-05/0.4103, allocations: 19.89 kB / 1.372 GB, free: 5.305 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.306e-05/0.4104, allocations: 17.47 kB / 1.372 GB, free: 5.281 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.4104, allocations: 4 kB / 1.372 GB, free: 5.277 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.4104, allocations: 0 / 1.372 GB, free: 5.277 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.4104, allocations: 3.938 kB / 1.372 GB, free: 5.273 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000691/0.4111, allocations: 430.2 kB / 1.372 GB, free: 4.805 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.4111, allocations: 0 / 1.372 GB, free: 4.805 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.61e-05/0.4111, allocations: 4 kB / 1.372 GB, free: 4.801 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.4111, allocations: 0 / 1.372 GB, free: 4.801 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.67e-05/0.4111, allocations: 11.92 kB / 1.372 GB, free: 4.789 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.4111, allocations: 4 kB / 1.372 GB, free: 4.785 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4111, allocations: 0 / 1.372 GB, free: 4.785 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002728/0.4114, allocations: 228.2 kB / 1.373 GB, free: 4.543 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.525e-05/0.4114, allocations: 23.83 kB / 1.373 GB, free: 4.52 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.783e-05/0.4115, allocations: 3.938 kB / 1.373 GB, free: 4.516 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/0.4116, allocations: 19.98 kB / 1.373 GB, free: 4.496 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.003e-05/0.4117, allocations: 19.97 kB / 1.373 GB, free: 4.477 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.626e-05/0.4117, allocations: 7.984 kB / 1.373 GB, free: 4.469 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001444/0.4119, allocations: 144.2 kB / 1.373 GB, free: 4.328 MB / 1.061 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4119, allocations: 0 / 1.373 GB, free: 4.328 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003366/0.4122, allocations: 51.88 kB / 1.373 GB, free: 4.277 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.0009141/0.4131, allocations: 0.8405 MB / 1.374 GB, free: 3.434 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002586/0.4134, allocations: 100.1 kB / 1.374 GB, free: 3.336 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4134, allocations: 0 / 1.374 GB, free: 3.336 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001212/0.4135, allocations: 47.92 kB / 1.374 GB, free: 3.289 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004486/0.414, allocations: 48.53 kB / 1.374 GB, free: 3.246 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002404/0.4164, allocations: 1.94 MB / 1.376 GB, free: 1.18 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000109/0.4165, allocations: 108.3 kB / 1.376 GB, free: 1.059 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.581e-05/0.4166, allocations: 29.62 kB / 1.376 GB, free: 1.027 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/0.4167, allocations: 59.41 kB / 1.376 GB, free: 0.9688 MB / 1.061 GB Notification: Performance of SimCode: time 7.32e-07/0.4167, allocations: 0 / 1.376 GB, free: 0.9688 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03945/0.4561, allocations: 6.416 MB / 1.382 GB, free: 10.74 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/12.05, allocations: 4.281 kB / 1.382 GB, free: 10.74 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.fmu > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.250916448887438]