Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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.001439/0.001439, allocations: 110.4 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.001523/0.001523, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.476/1.476, allocations: 230.6 MB / 256 MB, free: 7.988 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.373/3.373, allocations: 0.505 GB / 0.8101 GB, free: 22.04 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.PlotterActivationGlobalInput,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",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.002025/0.002025, allocations: 62.61 kB / 1.177 GB, free: 17.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3767/0.3787, allocations: 180.2 MB / 1.353 GB, free: 8.496 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003576/0.3823, allocations: 1.775 MB / 1.355 GB, free: 6.707 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001895/0.3842, allocations: 0.9481 MB / 1.355 GB, free: 5.758 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001117/0.3843, allocations: 3.938 kB / 1.355 GB, free: 5.754 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001837/0.3844, allocations: 27.73 kB / 1.356 GB, free: 5.727 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0004128/0.3849, allocations: 123.4 kB / 1.356 GB, free: 5.605 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004287/0.3853, allocations: 162.2 kB / 1.356 GB, free: 5.449 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003592/0.3857, allocations: 247.3 kB / 1.356 GB, free: 5.207 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.3858, allocations: 26.02 kB / 1.356 GB, free: 5.18 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001738/0.3859, allocations: 119.7 kB / 1.356 GB, free: 5.062 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01435/0.4003, allocations: 1.71 MB / 1.358 GB, free: 3.801 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001011/0.4004, allocations: 16 kB / 1.358 GB, free: 3.785 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000157/0.4006, allocations: 36 kB / 1.358 GB, free: 3.75 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 9.992e-05/0.4007, allocations: 51.75 kB / 1.358 GB, free: 3.699 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001627/0.4008, allocations: 91.58 kB / 1.358 GB, free: 3.609 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000485/0.4013, allocations: 215.2 kB / 1.358 GB, free: 3.398 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.4013, allocations: 0 / 1.358 GB, free: 3.398 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.794e-06/0.4013, allocations: 0 / 1.358 GB, free: 3.398 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.335e-06/0.4013, allocations: 0 / 1.358 GB, free: 3.398 MB / 1.045 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.0009421/0.4023, allocations: 492.6 kB / 1.359 GB, free: 2.875 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.4023, allocations: 16.03 kB / 1.359 GB, free: 2.859 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.827e-05/0.4024, allocations: 38.75 kB / 1.359 GB, free: 2.812 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.392e-05/0.4024, allocations: 24.78 kB / 1.359 GB, free: 2.789 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003309/0.4028, allocations: 185.6 kB / 1.359 GB, free: 2.582 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.4028, allocations: 12 kB / 1.359 GB, free: 2.57 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.974e-05/0.4028, allocations: 15.98 kB / 1.359 GB, free: 2.555 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002726/0.4031, allocations: 93.59 kB / 1.359 GB, free: 2.457 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.4031, allocations: 0 / 1.359 GB, free: 2.457 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.9e-05/0.4031, allocations: 3.984 kB / 1.359 GB, free: 2.453 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.593e-05/0.4031, allocations: 4 kB / 1.359 GB, free: 2.449 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001381/0.4033, allocations: 55.97 kB / 1.359 GB, free: 2.395 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001049/0.4043, allocations: 431.4 kB / 1.36 GB, free: 1.93 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005414/0.4049, allocations: 126.7 kB / 1.36 GB, free: 1.797 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.354e-05/0.4049, allocations: 36.78 kB / 1.36 GB, free: 1.758 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.305e-05/0.405, allocations: 4 kB / 1.36 GB, free: 1.754 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002975/0.4053, allocations: 107.4 kB / 1.36 GB, free: 1.637 MB / 1.045 GB Notification: Performance of pre-optimization done (n=16): time 1.844e-06/0.4053, allocations: 4 kB / 1.36 GB, free: 1.633 MB / 1.045 GB Notification: Performance of matching and sorting (n=16): time 0.0003946/0.4057, allocations: 172.6 kB / 1.36 GB, free: 1.461 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.46e-05/0.4057, allocations: 55.41 kB / 1.36 GB, free: 1.395 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002517/0.406, allocations: 198.5 kB / 1.36 GB, free: 1.188 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.538e-05/0.406, allocations: 41.62 kB / 1.36 GB, free: 1.141 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.4061, allocations: 120.5 kB / 1.36 GB, free: 1.02 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.082e-05/0.4062, allocations: 31.75 kB / 1.36 GB, free: 0.9883 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.4063, allocations: 61.61 kB / 1.36 GB, free: 0.9219 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.4064, allocations: 334.8 kB / 1.361 GB, free: 0.5859 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.004e-05/0.4065, allocations: 35.98 kB / 1.361 GB, free: 0.5508 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002614/0.4068, allocations: 120.9 kB / 1.361 GB, free: 416 kB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001657/0.4069, allocations: 104.1 kB / 1.361 GB, free: 296 kB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.4069, allocations: 0 / 1.361 GB, free: 296 kB / 1.045 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002877/0.4072, allocations: 155 kB / 1.361 GB, free: 136 kB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.4072, allocations: 8 kB / 1.361 GB, free: 128 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.4072, allocations: 0 / 1.361 GB, free: 128 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.836e-05/0.4073, allocations: 128 / 1.361 GB, free: 128 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.957e-05/0.4073, allocations: 27.92 kB / 1.361 GB, free: 100 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.4074, allocations: 4 kB / 1.361 GB, free: 96 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002062/0.4076, allocations: 31.88 kB / 1.361 GB, free: 64 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.446e-05/0.4076, allocations: 4 kB / 1.361 GB, free: 60 kB / 1.045 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.0001826/0.4078, allocations: 144.1 kB / 1.361 GB, free: 15.91 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.429e-05/0.4078, allocations: 19.84 kB / 1.361 GB, free: 15.89 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.524e-05/0.4078, allocations: 21.8 kB / 1.361 GB, free: 15.87 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.4079, allocations: 8 kB / 1.361 GB, free: 15.86 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.4079, allocations: 0 / 1.361 GB, free: 15.86 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.4079, allocations: 0 / 1.361 GB, free: 15.86 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007171/0.4086, allocations: 461.3 kB / 1.362 GB, free: 15.36 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.4086, allocations: 0 / 1.362 GB, free: 15.36 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.461e-05/0.4086, allocations: 4 kB / 1.362 GB, free: 15.36 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.4086, allocations: 4.031 kB / 1.362 GB, free: 15.35 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.4086, allocations: 11.92 kB / 1.362 GB, free: 15.34 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.664e-06/0.4086, allocations: 4 kB / 1.362 GB, free: 15.34 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.4086, allocations: 7.984 kB / 1.362 GB, free: 15.33 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002828/0.4089, allocations: 227.3 kB / 1.362 GB, free: 15.09 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.183e-05/0.4089, allocations: 19.89 kB / 1.362 GB, free: 15.07 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.054e-05/0.409, allocations: 7.938 kB / 1.362 GB, free: 15.06 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000131/0.4091, allocations: 15.92 kB / 1.362 GB, free: 15.05 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.928e-05/0.4092, allocations: 23.91 kB / 1.362 GB, free: 15.02 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.257e-05/0.4092, allocations: 15.98 kB / 1.362 GB, free: 15.01 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001456/0.4094, allocations: 136.5 kB / 1.362 GB, free: 14.88 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4094, allocations: 4 kB / 1.362 GB, free: 14.87 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003355/0.4097, allocations: 40 kB / 1.362 GB, free: 14.83 MB / 1.061 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.001015/0.4107, allocations: 0.8268 MB / 1.363 GB, free: 14 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000256/0.411, allocations: 106.4 kB / 1.363 GB, free: 13.9 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.411, allocations: 0 / 1.363 GB, free: 13.9 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.778e-05/0.4111, allocations: 51.86 kB / 1.363 GB, free: 13.85 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004429/0.4115, allocations: 61.81 kB / 1.363 GB, free: 13.79 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002848/0.4144, allocations: 1.912 MB / 1.365 GB, free: 11.77 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004535/0.4148, allocations: 0.7242 MB / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.579e-05/0.4149, allocations: 25.62 kB / 1.366 GB, free: 10.99 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/0.415, allocations: 55.41 kB / 1.366 GB, free: 10.94 MB / 1.061 GB Notification: Performance of SimCode: time 4.4e-07/0.415, allocations: 0 / 1.366 GB, free: 10.94 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03922/0.4543, allocations: 5.805 MB / 1.372 GB, free: 5.293 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.92, allocations: 0 / 1.372 GB, free: 5.293 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.fmu > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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: 18.837849310832098]