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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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.008045/0.008045, allocations: 97.33 kB / 15.73 MB, free: 6.039 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.002133/0.002133, allocations: 201.9 kB / 16.68 MB, free: 5.961 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.422/1.422, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.028/3.028, allocations: 482.4 MB / 0.7548 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002959/0.002959, allocations: 67.83 kB / 1.083 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3656/0.3686, allocations: 162.2 MB / 1.241 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003684/0.3723, allocations: 1.735 MB / 1.243 GB, free: 8.496 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001804/0.3742, allocations: 0.8929 MB / 1.244 GB, free: 7.602 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001341/0.3743, allocations: 4 kB / 1.244 GB, free: 7.598 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002364/0.3746, allocations: 27.72 kB / 1.244 GB, free: 7.57 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004747/0.3751, allocations: 119.4 kB / 1.244 GB, free: 7.453 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004621/0.3756, allocations: 155.7 kB / 1.244 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004067/0.376, allocations: 239.4 kB / 1.245 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001511/0.3762, allocations: 41.58 kB / 1.245 GB, free: 7.027 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002181/0.3764, allocations: 107.7 kB / 1.245 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01388/0.3903, allocations: 1.709 MB / 1.246 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001069/0.3904, allocations: 20 kB / 1.246 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001797/0.3906, allocations: 36 kB / 1.246 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.736e-05/0.3907, allocations: 35.91 kB / 1.246 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001798/0.3909, allocations: 95.48 kB / 1.247 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004736/0.3913, allocations: 219.1 kB / 1.247 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.3914, allocations: 4 kB / 1.247 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.903e-06/0.3914, allocations: 3.938 kB / 1.247 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.095e-06/0.3914, allocations: 4 kB / 1.247 GB, free: 5.25 MB / 0.9981 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.0009734/0.3924, allocations: 0.5487 MB / 1.247 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.3924, allocations: 8.031 kB / 1.247 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.098e-05/0.3925, allocations: 42.73 kB / 1.247 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.771e-05/0.3926, allocations: 20.84 kB / 1.247 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003456/0.3929, allocations: 251.3 kB / 1.248 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.3929, allocations: 11.98 kB / 1.248 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.694e-05/0.393, allocations: 20 kB / 1.248 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002081/0.3932, allocations: 87.72 kB / 1.248 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.3932, allocations: 0 / 1.248 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.3932, allocations: 4 kB / 1.248 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.3933, allocations: 0 / 1.248 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001256/0.3934, allocations: 55.97 kB / 1.248 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008629/0.3943, allocations: 460.4 kB / 1.248 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004876/0.3948, allocations: 134.7 kB / 1.248 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.381e-05/0.3948, allocations: 40.84 kB / 1.248 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.597e-05/0.3949, allocations: 0 / 1.248 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003149/0.3952, allocations: 119.3 kB / 1.248 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 4.338e-06/0.3952, allocations: 3.984 kB / 1.248 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16): time 0.0003896/0.3956, allocations: 168.7 kB / 1.249 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.048e-05/0.3957, allocations: 51.41 kB / 1.249 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002378/0.3959, allocations: 204.3 kB / 1.249 GB, free: 2.836 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.252e-05/0.396, allocations: 37.69 kB / 1.249 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.3961, allocations: 120.5 kB / 1.249 GB, free: 2.672 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.537e-05/0.3961, allocations: 27.75 kB / 1.249 GB, free: 2.645 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/0.3962, allocations: 65.66 kB / 1.249 GB, free: 2.574 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.3964, allocations: 330.8 kB / 1.249 GB, free: 2.242 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.2e-05/0.3965, allocations: 31.98 kB / 1.249 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002681/0.3967, allocations: 137.8 kB / 1.25 GB, free: 2.051 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001603/0.3969, allocations: 102.9 kB / 1.25 GB, free: 1.938 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3969, allocations: 7.938 kB / 1.25 GB, free: 1.93 MB / 0.9981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000296/0.3972, allocations: 153.4 kB / 1.25 GB, free: 1.773 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.3972, allocations: 4 kB / 1.25 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.3973, allocations: 4 kB / 1.25 GB, free: 1.766 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.3973, allocations: 0 / 1.25 GB, free: 1.766 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.554e-05/0.3974, allocations: 19.92 kB / 1.25 GB, free: 1.746 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.679e-06/0.3974, allocations: 4 kB / 1.25 GB, free: 1.742 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002266/0.3976, allocations: 27.88 kB / 1.25 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.558e-05/0.3976, allocations: 16.06 kB / 1.25 GB, free: 1.699 MB / 0.9981 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.000165/0.3978, allocations: 139.5 kB / 1.25 GB, free: 1.551 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.408e-05/0.3978, allocations: 15.91 kB / 1.25 GB, free: 1.535 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.586e-05/0.3979, allocations: 25.86 kB / 1.25 GB, free: 1.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.3979, allocations: 4 kB / 1.25 GB, free: 1.496 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.3979, allocations: 0 / 1.25 GB, free: 1.496 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.3979, allocations: 0 / 1.25 GB, free: 1.496 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007725/0.3987, allocations: 494.1 kB / 1.251 GB, free: 0.957 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3987, allocations: 4 kB / 1.251 GB, free: 0.9531 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.579e-05/0.3988, allocations: 3.984 kB / 1.251 GB, free: 0.9492 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.3988, allocations: 4 kB / 1.251 GB, free: 0.9453 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.3988, allocations: 7.938 kB / 1.251 GB, free: 0.9375 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.3988, allocations: 3.938 kB / 1.251 GB, free: 0.9336 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3988, allocations: 0 / 1.251 GB, free: 0.9336 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002675/0.3991, allocations: 231.4 kB / 1.251 GB, free: 0.6914 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.484e-05/0.3992, allocations: 89.02 kB / 1.251 GB, free: 0.5859 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.754e-05/0.3992, allocations: 7.938 kB / 1.251 GB, free: 0.5781 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/0.3993, allocations: 11.98 kB / 1.251 GB, free: 0.5664 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.488e-05/0.3994, allocations: 23.97 kB / 1.251 GB, free: 0.543 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.733e-05/0.3994, allocations: 7.984 kB / 1.251 GB, free: 0.5352 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001397/0.3996, allocations: 140.2 kB / 1.251 GB, free: 408 kB / 0.9981 GB Notification: Performance of sort global known variables: time 3.41e-07/0.3996, allocations: 0 / 1.251 GB, free: 408 kB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003173/0.3999, allocations: 51.88 kB / 1.251 GB, free: 356 kB / 0.9981 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.6526/1.052, allocations: 0.8356 MB / 1.252 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003553/1.053, allocations: 104 kB / 1.252 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/1.053, allocations: 0.5938 kB / 1.252 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001082/1.053, allocations: 54.56 kB / 1.252 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005533/1.054, allocations: 55.95 kB / 1.252 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002089/1.056, allocations: 1.916 MB / 1.254 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001666/1.056, allocations: 0.7226 MB / 1.255 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001011/1.056, allocations: 22.03 kB / 1.255 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.603e-05/1.056, allocations: 55.86 kB / 1.255 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of SimCode: time 4.11e-07/1.056, allocations: 2.953 kB / 1.255 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03159/1.088, allocations: 5.591 MB / 1.26 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.065/9.153, allocations: 9.703 kB / 1.26 GB, free: 12 MB / 0.9981 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 400 --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