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.001666/0.001666, allocations: 103.6 kB / 18.95 MB, free: 2.688 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.002274/0.002274, allocations: 216.8 kB / 22.24 MB, free: 5.242 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.499/1.499, allocations: 230.6 MB / 256 MB, free: 7.801 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.317/3.317, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 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.002151/0.002151, allocations: 71.25 kB / 1.186 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4159/0.418, allocations: 181.9 MB / 1.363 GB, free: 14.14 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.00339/0.4214, allocations: 1.715 MB / 1.365 GB, free: 12.4 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00181/0.4232, allocations: 0.9096 MB / 1.366 GB, free: 11.49 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.341e-05/0.4233, allocations: 3.938 kB / 1.366 GB, free: 11.49 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002081/0.4235, allocations: 31.72 kB / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004546/0.424, allocations: 119.5 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000406/0.4244, allocations: 151.7 kB / 1.366 GB, free: 11.19 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000317/0.4247, allocations: 251.3 kB / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001456/0.4248, allocations: 26.02 kB / 1.366 GB, free: 10.92 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001927/0.425, allocations: 115.7 kB / 1.367 GB, free: 10.8 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01419/0.4392, allocations: 1.698 MB / 1.368 GB, free: 9.551 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001082/0.4393, allocations: 16 kB / 1.368 GB, free: 9.535 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001827/0.4395, allocations: 36 kB / 1.368 GB, free: 9.5 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001162/0.4396, allocations: 43.83 kB / 1.368 GB, free: 9.457 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001292/0.4398, allocations: 75.62 kB / 1.368 GB, free: 9.383 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000425/0.4402, allocations: 219.1 kB / 1.369 GB, free: 9.168 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.4402, allocations: 0 / 1.369 GB, free: 9.168 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.204e-06/0.4402, allocations: 0 / 1.369 GB, free: 9.168 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.226e-05/0.4402, allocations: 0 / 1.369 GB, free: 9.168 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0009062/0.4411, allocations: 0.4928 MB / 1.369 GB, free: 8.633 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.4412, allocations: 8.031 kB / 1.369 GB, free: 8.625 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.994e-05/0.4412, allocations: 38.75 kB / 1.369 GB, free: 8.578 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.099e-05/0.4413, allocations: 24.84 kB / 1.369 GB, free: 8.555 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003321/0.4416, allocations: 181.6 kB / 1.369 GB, free: 8.352 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.4416, allocations: 15.94 kB / 1.369 GB, free: 8.336 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.371e-05/0.4417, allocations: 16 kB / 1.369 GB, free: 8.32 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000225/0.4419, allocations: 89.55 kB / 1.369 GB, free: 8.227 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.4419, allocations: 3.938 kB / 1.369 GB, free: 8.223 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.797e-05/0.4419, allocations: 12 kB / 1.369 GB, free: 8.211 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.4419, allocations: 3.984 kB / 1.369 GB, free: 8.207 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001222/0.4421, allocations: 47.98 kB / 1.37 GB, free: 8.16 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008267/0.4429, allocations: 399.6 kB / 1.37 GB, free: 7.727 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004343/0.4433, allocations: 130.7 kB / 1.37 GB, free: 7.59 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.94e-05/0.4434, allocations: 24.86 kB / 1.37 GB, free: 7.562 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.4434, allocations: 4 kB / 1.37 GB, free: 7.559 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003056/0.4437, allocations: 122.7 kB / 1.37 GB, free: 7.43 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 1.783e-06/0.4437, allocations: 0 / 1.37 GB, free: 7.43 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.0003564/0.4441, allocations: 161.5 kB / 1.37 GB, free: 7.266 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.13e-05/0.4441, allocations: 59.41 kB / 1.37 GB, free: 7.195 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002145/0.4443, allocations: 198.5 kB / 1.371 GB, free: 6.988 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.681e-05/0.4444, allocations: 37.7 kB / 1.371 GB, free: 6.945 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.4445, allocations: 124.5 kB / 1.371 GB, free: 6.82 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.166e-05/0.4445, allocations: 39.69 kB / 1.371 GB, free: 6.781 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.4446, allocations: 57.67 kB / 1.371 GB, free: 6.719 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.4448, allocations: 330.8 kB / 1.371 GB, free: 6.387 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.391e-05/0.4449, allocations: 35.98 kB / 1.371 GB, free: 6.352 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003167/0.4452, allocations: 234.4 kB / 1.371 GB, free: 6.07 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001646/0.4453, allocations: 100.1 kB / 1.372 GB, free: 5.957 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.4453, allocations: 0 / 1.372 GB, free: 5.957 MB / 1.061 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002684/0.4456, allocations: 155.6 kB / 1.372 GB, free: 5.801 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.4456, allocations: 8 kB / 1.372 GB, free: 5.793 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.4456, allocations: 0 / 1.372 GB, free: 5.793 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.4456, allocations: 4 kB / 1.372 GB, free: 5.789 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.742e-05/0.4457, allocations: 19.94 kB / 1.372 GB, free: 5.77 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.4457, allocations: 3.938 kB / 1.372 GB, free: 5.766 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000214/0.4459, allocations: 31.98 kB / 1.372 GB, free: 5.734 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.446, allocations: 8 kB / 1.372 GB, free: 5.727 MB / 1.061 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.0001504/0.4461, allocations: 140.2 kB / 1.372 GB, free: 5.582 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.011e-05/0.4461, allocations: 15.91 kB / 1.372 GB, free: 5.566 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.375e-05/0.4462, allocations: 21.8 kB / 1.372 GB, free: 5.539 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.4462, allocations: 0 / 1.372 GB, free: 5.539 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.4462, allocations: 0 / 1.372 GB, free: 5.539 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.4462, allocations: 0 / 1.372 GB, free: 5.539 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006974/0.4469, allocations: 461.2 kB / 1.372 GB, free: 5.039 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.4469, allocations: 3.938 kB / 1.372 GB, free: 5.035 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.605e-05/0.4469, allocations: 7.984 kB / 1.372 GB, free: 5.027 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.4469, allocations: 0 / 1.372 GB, free: 5.027 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.4469, allocations: 11.94 kB / 1.372 GB, free: 5.016 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.4469, allocations: 0 / 1.372 GB, free: 5.016 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.4469, allocations: 0 / 1.372 GB, free: 5.016 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002764/0.4472, allocations: 234.7 kB / 1.373 GB, free: 4.773 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.144e-05/0.4473, allocations: 15.91 kB / 1.373 GB, free: 4.758 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.59e-05/0.4473, allocations: 3.938 kB / 1.373 GB, free: 4.754 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001305/0.4474, allocations: 19.98 kB / 1.373 GB, free: 4.734 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.646e-05/0.4475, allocations: 31.83 kB / 1.373 GB, free: 4.703 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.292e-05/0.4475, allocations: 4 kB / 1.373 GB, free: 4.699 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001374/0.4476, allocations: 144.2 kB / 1.373 GB, free: 4.559 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4476, allocations: 0 / 1.373 GB, free: 4.559 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003033/0.4479, allocations: 43.95 kB / 1.373 GB, free: 4.516 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.0009209/0.4489, allocations: 0.8429 MB / 1.374 GB, free: 3.672 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002491/0.4491, allocations: 101.5 kB / 1.374 GB, free: 3.574 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.4491, allocations: 3.938 kB / 1.374 GB, free: 3.57 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001059/0.4492, allocations: 52.16 kB / 1.374 GB, free: 3.52 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004283/0.4497, allocations: 54.17 kB / 1.374 GB, free: 3.469 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00232/0.452, allocations: 1.905 MB / 1.376 GB, free: 1.457 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001154/0.4521, allocations: 112.1 kB / 1.376 GB, free: 1.328 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.414e-05/0.4522, allocations: 25.56 kB / 1.376 GB, free: 1.305 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.4523, allocations: 55.41 kB / 1.376 GB, free: 1.25 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/0.4523, allocations: 0 / 1.376 GB, free: 1.25 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0349/0.4872, allocations: 6.486 MB / 1.382 GB, free: 10.96 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.18, allocations: 7.922 kB / 1.382 GB, free: 10.95 MB / 1.076 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: 19.154935746919364]