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.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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005306/0.005305, allocations: 105.3 kB / 15.74 MB, free: 6 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.001356/0.001356, allocations: 184.1 kB / 16.67 MB, free: 5.926 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.392/1.392, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.689/2.689, allocations: 469.4 MB / 0.7422 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001605/0.001605, allocations: 60.12 kB / 1.064 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9513/0.9529, allocations: 159.1 MB / 1.22 GB, free: 2.434 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003834/0.9568, allocations: 1.737 MB / 1.221 GB, free: 0.6797 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001747/0.9586, allocations: 0.8939 MB / 1.222 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001473/0.9588, allocations: 0 / 1.222 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0002409/0.959, allocations: 31.72 kB / 1.222 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0005411/0.9596, allocations: 123.5 kB / 1.222 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005265/0.9601, allocations: 154.4 kB / 1.223 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0004597/0.9606, allocations: 239.4 kB / 1.223 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001631/0.9608, allocations: 29.67 kB / 1.223 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002505/0.961, allocations: 115.6 kB / 1.223 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01047/0.9715, allocations: 1.711 MB / 1.225 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.000112/0.9717, allocations: 20 kB / 1.225 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000166/0.9719, allocations: 36 kB / 1.225 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 9.005e-05/0.972, allocations: 43.83 kB / 1.225 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001615/0.9721, allocations: 87.56 kB / 1.225 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005007/0.9727, allocations: 220.1 kB / 1.225 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.9727, allocations: 8 kB / 1.225 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.834e-06/0.9727, allocations: 0 / 1.225 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.409e-05/0.9727, allocations: 0 / 1.225 GB, free: 13.44 MB / 0.9512 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.001037/0.9738, allocations: 0.5525 MB / 1.226 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.306e-05/0.9738, allocations: 8.625 kB / 1.226 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.265e-05/0.9739, allocations: 42.73 kB / 1.226 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.813e-05/0.974, allocations: 20.84 kB / 1.226 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003621/0.9744, allocations: 252.5 kB / 1.226 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.9744, allocations: 15.92 kB / 1.226 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.769e-05/0.9744, allocations: 16 kB / 1.226 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002065/0.9746, allocations: 85.66 kB / 1.226 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.9747, allocations: 3.984 kB / 1.226 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.9747, allocations: 4 kB / 1.226 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.9747, allocations: 0 / 1.226 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001273/0.9748, allocations: 59.92 kB / 1.226 GB, free: 12.28 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009045/0.9757, allocations: 460.5 kB / 1.226 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004721/0.9762, allocations: 138.7 kB / 1.227 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.887e-05/0.9763, allocations: 36.84 kB / 1.227 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.9763, allocations: 0 / 1.227 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000208/0.9765, allocations: 111.4 kB / 1.227 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=16): time 1.874e-06/0.9766, allocations: 0 / 1.227 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of matching and sorting (n=16): time 0.0004033/0.977, allocations: 165.5 kB / 1.227 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.95e-05/0.977, allocations: 63.28 kB / 1.227 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001993/0.9772, allocations: 197.3 kB / 1.227 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.723e-05/0.9773, allocations: 37.69 kB / 1.227 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 9.051e-05/0.9774, allocations: 120.5 kB / 1.227 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.529e-05/0.9774, allocations: 35.69 kB / 1.227 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.056e-05/0.9775, allocations: 61.67 kB / 1.227 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.9776, allocations: 330.8 kB / 1.228 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.9e-05/0.9777, allocations: 31.98 kB / 1.228 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002411/0.978, allocations: 131.6 kB / 1.228 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.9781, allocations: 106.9 kB / 1.228 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.9781, allocations: 0 / 1.228 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002606/0.9784, allocations: 149.5 kB / 1.228 GB, free: 9.965 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.9784, allocations: 7.938 kB / 1.228 GB, free: 9.957 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.9784, allocations: 4 kB / 1.228 GB, free: 9.953 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.9785, allocations: 3.984 kB / 1.228 GB, free: 9.949 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.452e-05/0.9785, allocations: 15.94 kB / 1.228 GB, free: 9.934 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.9786, allocations: 4 kB / 1.228 GB, free: 9.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002242/0.9788, allocations: 32 kB / 1.228 GB, free: 9.898 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.497e-05/0.9788, allocations: 8 kB / 1.228 GB, free: 9.891 MB / 0.9512 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.0001461/0.979, allocations: 139.5 kB / 1.228 GB, free: 9.746 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.005e-05/0.979, allocations: 15.91 kB / 1.228 GB, free: 9.73 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.629e-05/0.9791, allocations: 25.86 kB / 1.228 GB, free: 9.699 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.9791, allocations: 4 kB / 1.228 GB, free: 9.695 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.9791, allocations: 4 kB / 1.228 GB, free: 9.691 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/0.9791, allocations: 0 / 1.228 GB, free: 9.691 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000705/0.9798, allocations: 496.5 kB / 1.229 GB, free: 9.152 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.9798, allocations: 4 kB / 1.229 GB, free: 9.148 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.551e-05/0.9798, allocations: 3.984 kB / 1.229 GB, free: 9.145 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.9799, allocations: 4 kB / 1.229 GB, free: 9.141 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.9799, allocations: 7.938 kB / 1.229 GB, free: 9.133 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.9799, allocations: 0 / 1.229 GB, free: 9.133 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.9799, allocations: 0 / 1.229 GB, free: 9.133 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002619/0.9802, allocations: 239.3 kB / 1.229 GB, free: 8.883 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/0.9803, allocations: 89.02 kB / 1.229 GB, free: 8.777 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.816e-05/0.9803, allocations: 7.938 kB / 1.229 GB, free: 8.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.9804, allocations: 11.98 kB / 1.229 GB, free: 8.758 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.215e-05/0.9805, allocations: 23.97 kB / 1.229 GB, free: 8.734 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-05/0.9806, allocations: 7.984 kB / 1.229 GB, free: 8.727 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001287/0.9807, allocations: 139.3 kB / 1.229 GB, free: 8.59 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.8e-07/0.9807, allocations: 4 kB / 1.229 GB, free: 8.586 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003353/0.981, allocations: 51.88 kB / 1.229 GB, free: 8.535 MB / 0.9512 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.0008463/0.9819, allocations: 0.843 MB / 1.23 GB, free: 7.691 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002571/0.9822, allocations: 103.8 kB / 1.23 GB, free: 7.59 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.9822, allocations: 256 / 1.23 GB, free: 7.59 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 9.871e-05/0.9823, allocations: 55.92 kB / 1.23 GB, free: 7.535 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004514/0.9827, allocations: 65.53 kB / 1.23 GB, free: 7.477 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002419/0.9852, allocations: 1.909 MB / 1.232 GB, free: 5.469 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004003/0.9856, allocations: 0.7203 MB / 1.233 GB, free: 4.723 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001064/0.9857, allocations: 25.55 kB / 1.233 GB, free: 4.699 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.9858, allocations: 55.41 kB / 1.233 GB, free: 4.645 MB / 0.9512 GB Notification: Performance of SimCode: time 2.31e-07/0.9858, allocations: 0 / 1.233 GB, free: 4.645 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02295/1.009, allocations: 5.593 MB / 1.239 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.03/9.039, allocations: 5.734 kB / 1.239 GB, free: 15.22 MB / 0.9669 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.fmu > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv","/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) Reference file matches