Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.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.001329/0.001329, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.00151/0.00151, allocations: 212.9 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.486/1.486, allocations: 230.6 MB / 256 MB, free: 7.773 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.375/3.375, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 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.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",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.002119/0.002119, allocations: 67.66 kB / 1.186 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4322/0.4343, allocations: 181.9 MB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003408/0.4378, allocations: 1.728 MB / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00181/0.4396, allocations: 0.9058 MB / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.032e-05/0.4396, allocations: 3.938 kB / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001962/0.4398, allocations: 31.72 kB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000383/0.4402, allocations: 119.5 kB / 1.366 GB, free: 11.28 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003917/0.4406, allocations: 159.7 kB / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003096/0.4409, allocations: 243.3 kB / 1.366 GB, free: 10.88 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001346/0.4411, allocations: 34.02 kB / 1.367 GB, free: 10.85 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000151/0.4412, allocations: 115.6 kB / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01625/0.4575, allocations: 1.979 MB / 1.369 GB, free: 9.285 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001317/0.4576, allocations: 20 kB / 1.369 GB, free: 9.266 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001833/0.4578, allocations: 39.98 kB / 1.369 GB, free: 9.227 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.997e-05/0.4579, allocations: 43.83 kB / 1.369 GB, free: 9.184 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001606/0.458, allocations: 79.58 kB / 1.369 GB, free: 9.105 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005339/0.4586, allocations: 215.2 kB / 1.369 GB, free: 8.895 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.4586, allocations: 0 / 1.369 GB, free: 8.895 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.405e-06/0.4586, allocations: 0 / 1.369 GB, free: 8.895 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.024e-05/0.4586, allocations: 4 kB / 1.369 GB, free: 8.891 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.001066/0.4597, allocations: 496.6 kB / 1.369 GB, free: 8.363 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.4597, allocations: 8.031 kB / 1.369 GB, free: 8.355 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.86e-05/0.4598, allocations: 42.73 kB / 1.369 GB, free: 8.305 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.045e-05/0.4599, allocations: 20.84 kB / 1.369 GB, free: 8.285 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003748/0.4602, allocations: 189.6 kB / 1.37 GB, free: 8.074 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.297e-05/0.4603, allocations: 8 kB / 1.37 GB, free: 8.066 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.973e-05/0.4603, allocations: 23.98 kB / 1.37 GB, free: 8.043 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002591/0.4606, allocations: 115.3 kB / 1.37 GB, free: 7.918 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.4606, allocations: 3.984 kB / 1.37 GB, free: 7.914 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.939e-05/0.4606, allocations: 11.92 kB / 1.37 GB, free: 7.902 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.4606, allocations: 0 / 1.37 GB, free: 7.902 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001489/0.4607, allocations: 55.88 kB / 1.37 GB, free: 7.848 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001055/0.4618, allocations: 487.8 kB / 1.37 GB, free: 7.324 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002032/0.462, allocations: 89.06 kB / 1.37 GB, free: 7.219 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.799e-05/0.4621, allocations: 41.77 kB / 1.37 GB, free: 7.172 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.4621, allocations: 3.938 kB / 1.37 GB, free: 7.168 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003711/0.4625, allocations: 121.2 kB / 1.371 GB, free: 7.031 MB / 1.061 GB Notification: Performance of pre-optimization done (n=15): time 1.603e-06/0.4625, allocations: 0 / 1.371 GB, free: 7.031 MB / 1.061 GB Notification: Performance of matching and sorting (n=15): time 0.0004526/0.4629, allocations: 170.6 kB / 1.371 GB, free: 6.859 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.668e-05/0.463, allocations: 77.11 kB / 1.371 GB, free: 6.766 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002563/0.4633, allocations: 210.6 kB / 1.371 GB, free: 6.547 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.591e-05/0.4633, allocations: 33.7 kB / 1.371 GB, free: 6.508 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.4634, allocations: 120.5 kB / 1.371 GB, free: 6.387 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.099e-05/0.4635, allocations: 39.69 kB / 1.371 GB, free: 6.348 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000119/0.4636, allocations: 57.67 kB / 1.371 GB, free: 6.285 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.4638, allocations: 334.8 kB / 1.372 GB, free: 5.949 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.194e-05/0.4638, allocations: 27.98 kB / 1.372 GB, free: 5.922 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003599/0.4642, allocations: 254.1 kB / 1.372 GB, free: 5.617 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001793/0.4644, allocations: 116.5 kB / 1.372 GB, free: 5.484 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.4644, allocations: 0 / 1.372 GB, free: 5.484 MB / 1.061 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002896/0.4647, allocations: 157.4 kB / 1.372 GB, free: 5.324 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.4647, allocations: 8 kB / 1.372 GB, free: 5.316 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.4647, allocations: 3.984 kB / 1.372 GB, free: 5.312 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/0.4647, allocations: 4 kB / 1.372 GB, free: 5.309 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.727e-05/0.4648, allocations: 19.92 kB / 1.372 GB, free: 5.289 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/0.4648, allocations: 8.156 kB / 1.372 GB, free: 5.281 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002326/0.4651, allocations: 27.88 kB / 1.372 GB, free: 5.254 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.4651, allocations: 4 kB / 1.372 GB, free: 5.25 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.000175/0.4653, allocations: 144.6 kB / 1.372 GB, free: 5.102 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.229e-05/0.4653, allocations: 19.89 kB / 1.372 GB, free: 5.082 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.275e-05/0.4654, allocations: 17.47 kB / 1.372 GB, free: 5.059 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.4654, allocations: 0 / 1.372 GB, free: 5.059 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.858e-06/0.4654, allocations: 4 kB / 1.372 GB, free: 5.055 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.4654, allocations: 7.984 kB / 1.372 GB, free: 5.047 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006696/0.466, allocations: 424.2 kB / 1.373 GB, free: 4.586 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.466, allocations: 4 kB / 1.373 GB, free: 4.582 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.63e-05/0.4661, allocations: 4 kB / 1.373 GB, free: 4.578 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/0.4661, allocations: 4.078 kB / 1.373 GB, free: 4.574 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.4661, allocations: 7.922 kB / 1.373 GB, free: 4.566 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.4661, allocations: 7.938 kB / 1.373 GB, free: 4.559 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.83e-06/0.4661, allocations: 3.938 kB / 1.373 GB, free: 4.555 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002829/0.4664, allocations: 231.3 kB / 1.373 GB, free: 4.312 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.18e-05/0.4664, allocations: 11.91 kB / 1.373 GB, free: 4.301 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.195e-05/0.4665, allocations: 15.94 kB / 1.373 GB, free: 4.285 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001355/0.4666, allocations: 11.98 kB / 1.373 GB, free: 4.273 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.118e-05/0.4667, allocations: 15.97 kB / 1.373 GB, free: 4.258 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.944e-05/0.4667, allocations: 19.92 kB / 1.373 GB, free: 4.238 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001536/0.4668, allocations: 144.2 kB / 1.373 GB, free: 4.098 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4668, allocations: 0 / 1.373 GB, free: 4.098 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003337/0.4672, allocations: 47.89 kB / 1.373 GB, free: 4.051 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.001042/0.4682, allocations: 0.8312 MB / 1.374 GB, free: 3.211 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002668/0.4685, allocations: 106.2 kB / 1.374 GB, free: 3.113 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.4685, allocations: 4 kB / 1.374 GB, free: 3.109 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001075/0.4686, allocations: 43.92 kB / 1.374 GB, free: 3.066 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004788/0.4691, allocations: 57.58 kB / 1.374 GB, free: 3.012 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002572/0.4716, allocations: 1.921 MB / 1.376 GB, free: 0.9648 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001396/0.4718, allocations: 112.1 kB / 1.376 GB, free: 0.8398 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001026/0.4719, allocations: 25.62 kB / 1.376 GB, free: 0.8125 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001116/0.472, allocations: 55.41 kB / 1.376 GB, free: 0.7578 MB / 1.061 GB Notification: Performance of SimCode: time 6.51e-07/0.472, allocations: 0 / 1.376 GB, free: 0.7578 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03662/0.5086, allocations: 6.433 MB / 1.383 GB, free: 10.52 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.13, allocations: 5.828 kB / 1.383 GB, free: 10.52 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.fmu > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.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.191762132104486]