Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 190.9 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.529/1.529, allocations: 222.9 MB / 239.9 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.689/2.689, allocations: 461.9 MB / 0.7344 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002467/0.002467, allocations: 60.47 kB / 0.8987 GB, free: 37.17 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.37/0.3725, allocations: 157.4 MB / 1.052 GB, free: 8.652 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.003956/0.3765, allocations: 1.891 MB / 1.054 GB, free: 6.742 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001617/0.3782, allocations: 0.9435 MB / 1.055 GB, free: 5.797 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001395/0.3783, allocations: 0 / 1.055 GB, free: 5.797 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002217/0.3786, allocations: 23.86 kB / 1.055 GB, free: 5.773 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000382/0.379, allocations: 99.58 kB / 1.055 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003764/0.3794, allocations: 139.8 kB / 1.055 GB, free: 5.539 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003032/0.3797, allocations: 243.4 kB / 1.056 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.3798, allocations: 33.66 kB / 1.056 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001585/0.38, allocations: 111.6 kB / 1.056 GB, free: 5.16 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02697/0.407, allocations: 2.027 MB / 1.058 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.19e-05/0.4071, allocations: 20 kB / 1.058 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001276/0.4072, allocations: 36 kB / 1.058 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.298e-05/0.4073, allocations: 39.84 kB / 1.058 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001354/0.4074, allocations: 91.55 kB / 1.058 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003263/0.4077, allocations: 215.3 kB / 1.058 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.4078, allocations: 0 / 1.058 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.774e-06/0.4078, allocations: 4 kB / 1.058 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.756e-06/0.4078, allocations: 0 / 1.058 GB, free: 3.277 MB / 0.8106 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.0008363/0.4086, allocations: 0.5489 MB / 1.059 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.4087, allocations: 8.625 kB / 1.059 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.595e-05/0.4087, allocations: 46.67 kB / 1.059 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.902e-05/0.4088, allocations: 16.75 kB / 1.059 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002777/0.4091, allocations: 251.7 kB / 1.059 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.4091, allocations: 19.94 kB / 1.059 GB, free: 2.285 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.621e-05/0.4092, allocations: 15.98 kB / 1.059 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.4093, allocations: 85.66 kB / 1.059 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.4094, allocations: 0 / 1.059 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.4094, allocations: 4 kB / 1.059 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.4094, allocations: 4 kB / 1.059 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001105/0.4095, allocations: 55.92 kB / 1.059 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007555/0.4103, allocations: 460.3 kB / 1.06 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004122/0.4107, allocations: 142.7 kB / 1.06 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.333e-05/0.4108, allocations: 32.84 kB / 1.06 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.319e-05/0.4108, allocations: 4 kB / 1.06 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001812/0.411, allocations: 114.9 kB / 1.06 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 1.563e-06/0.411, allocations: 0 / 1.06 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.0003237/0.4113, allocations: 165.3 kB / 1.06 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.96e-05/0.4114, allocations: 67.38 kB / 1.06 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001755/0.4116, allocations: 192.3 kB / 1.06 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.534e-05/0.4116, allocations: 33.7 kB / 1.06 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.129e-05/0.4117, allocations: 120.5 kB / 1.06 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.514e-05/0.4117, allocations: 31.56 kB / 1.06 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.166e-05/0.4118, allocations: 57.67 kB / 1.061 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.4119, allocations: 330.8 kB / 1.061 GB, free: 284 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.947e-05/0.412, allocations: 31.98 kB / 1.061 GB, free: 252 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002247/0.4122, allocations: 131.6 kB / 1.061 GB, free: 92 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001405/0.4124, allocations: 100.2 kB / 1.061 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.4124, allocations: 4 kB / 1.061 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002346/0.4126, allocations: 156.1 kB / 1.061 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.4127, allocations: 8 kB / 1.061 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.4127, allocations: 0 / 1.061 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.4127, allocations: 4 kB / 1.061 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.22e-05/0.4128, allocations: 20.05 kB / 1.061 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.4128, allocations: 8 kB / 1.061 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002084/0.413, allocations: 27.83 kB / 1.061 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.699e-05/0.413, allocations: 12 kB / 1.061 GB, free: 15.73 MB / 0.8262 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.0001172/0.4132, allocations: 141 kB / 1.061 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.873e-05/0.4132, allocations: 15.81 kB / 1.061 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.947e-05/0.4132, allocations: 21.88 kB / 1.062 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.4133, allocations: 0 / 1.062 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.4133, allocations: 7.984 kB / 1.062 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.4133, allocations: 0 / 1.062 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006356/0.4139, allocations: 497.9 kB / 1.062 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.4139, allocations: 0 / 1.062 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.814e-05/0.414, allocations: 7.984 kB / 1.062 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.414, allocations: 0 / 1.062 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.414, allocations: 11.94 kB / 1.062 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.414, allocations: 4 kB / 1.062 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.414, allocations: 0 / 1.062 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002271/0.4142, allocations: 231.2 kB / 1.062 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.833e-05/0.4143, allocations: 88.92 kB / 1.062 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.814e-05/0.4143, allocations: 3.938 kB / 1.062 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/0.4145, allocations: 15.98 kB / 1.062 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.362e-05/0.4146, allocations: 19.97 kB / 1.062 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.293e-05/0.4146, allocations: 12 kB / 1.062 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001107/0.4147, allocations: 144.2 kB / 1.063 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4147, allocations: 0 / 1.063 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.00031/0.415, allocations: 51.92 kB / 1.063 GB, free: 14.39 MB / 0.8262 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.0006773/0.4157, allocations: 0.8327 MB / 1.063 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002427/0.416, allocations: 116 kB / 1.063 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.416, allocations: 4 kB / 1.063 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.569e-05/0.4161, allocations: 55.91 kB / 1.064 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000417/0.4165, allocations: 53.23 kB / 1.064 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001898/0.4184, allocations: 1.92 MB / 1.065 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002402/0.4187, allocations: 0.7203 MB / 1.066 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.826e-05/0.4188, allocations: 25.53 kB / 1.066 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.091e-05/0.4189, allocations: 55.41 kB / 1.066 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of SimCode: time 2.8e-07/0.4189, allocations: 0 / 1.066 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.395/3.814, allocations: 5.34 MB / 1.071 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004206/3.814, allocations: 281.7 kB / 1.072 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.598/6.412, allocations: 4 kB / 1.072 GB, free: 4.977 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.fmu > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches