Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,fileNamePrefix="Buildings_10_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.009157/0.009157, allocations: 97.88 kB / 15.73 MB, free: 6.004 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.002018/0.002018, allocations: 192.6 kB / 16.67 MB, free: 5.934 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.495/1.495, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.638/2.638, allocations: 437 MB / 0.7105 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002037/0.002038, allocations: 63.91 kB / 1.018 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.348/0.35, allocations: 151.6 MB / 1.166 GB, free: 7.371 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003339/0.3534, allocations: 1.739 MB / 1.168 GB, free: 5.609 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001628/0.3551, allocations: 0.9008 MB / 1.169 GB, free: 4.707 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001462/0.3553, allocations: 3.938 kB / 1.169 GB, free: 4.703 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002302/0.3555, allocations: 27.73 kB / 1.169 GB, free: 4.676 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0004939/0.356, allocations: 119.4 kB / 1.169 GB, free: 4.559 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000439/0.3565, allocations: 155.3 kB / 1.169 GB, free: 4.41 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003875/0.3569, allocations: 239.3 kB / 1.169 GB, free: 4.176 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000151/0.357, allocations: 37.66 kB / 1.169 GB, free: 4.137 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002006/0.3572, allocations: 115.6 kB / 1.169 GB, free: 4.023 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01029/0.3675, allocations: 1.699 MB / 1.171 GB, free: 2.773 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001008/0.3676, allocations: 20 kB / 1.171 GB, free: 2.754 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001419/0.3678, allocations: 47.98 kB / 1.171 GB, free: 2.707 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.821e-05/0.3679, allocations: 39.78 kB / 1.171 GB, free: 2.668 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001467/0.368, allocations: 91.56 kB / 1.171 GB, free: 2.578 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004337/0.3685, allocations: 215.2 kB / 1.171 GB, free: 2.367 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3685, allocations: 0 / 1.171 GB, free: 2.367 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.166e-06/0.3685, allocations: 0 / 1.171 GB, free: 2.367 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.345e-06/0.3685, allocations: 3.938 kB / 1.171 GB, free: 2.363 MB / 0.92 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.0009337/0.3694, allocations: 0.5564 MB / 1.172 GB, free: 1.746 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.3695, allocations: 12.02 kB / 1.172 GB, free: 1.734 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.489e-05/0.3696, allocations: 46.73 kB / 1.172 GB, free: 1.68 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.259e-05/0.3696, allocations: 20.84 kB / 1.172 GB, free: 1.66 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003279/0.37, allocations: 247.4 kB / 1.172 GB, free: 1.379 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.37, allocations: 4 kB / 1.172 GB, free: 1.375 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.241e-05/0.3701, allocations: 16 kB / 1.172 GB, free: 1.359 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002053/0.3703, allocations: 100.2 kB / 1.172 GB, free: 1.258 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.3703, allocations: 0 / 1.172 GB, free: 1.258 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.3703, allocations: 4 kB / 1.172 GB, free: 1.254 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.3703, allocations: 0 / 1.172 GB, free: 1.254 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001176/0.3704, allocations: 55.97 kB / 1.172 GB, free: 1.199 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008122/0.3713, allocations: 460.4 kB / 1.173 GB, free: 0.6992 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004526/0.3717, allocations: 134.7 kB / 1.173 GB, free: 0.5586 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.122e-05/0.3718, allocations: 44.73 kB / 1.173 GB, free: 0.5117 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.3718, allocations: 3.984 kB / 1.173 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002819/0.3721, allocations: 111.4 kB / 1.173 GB, free: 396 kB / 0.92 GB Notification: Performance of pre-optimization done (n=16): time 1.703e-06/0.3721, allocations: 0 / 1.173 GB, free: 396 kB / 0.92 GB Notification: Performance of matching and sorting (n=16): time 0.0003637/0.3725, allocations: 165.5 kB / 1.173 GB, free: 224 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/0.3726, allocations: 55.39 kB / 1.173 GB, free: 156 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002157/0.3728, allocations: 202.5 kB / 1.174 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.46e-05/0.3728, allocations: 33.7 kB / 1.174 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.732e-05/0.3729, allocations: 120.5 kB / 1.174 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.641e-05/0.373, allocations: 35.73 kB / 1.174 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.48e-05/0.3731, allocations: 61.67 kB / 1.174 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.3732, allocations: 330.8 kB / 1.174 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.451e-05/0.3733, allocations: 35.98 kB / 1.174 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002471/0.3735, allocations: 126 kB / 1.174 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.3737, allocations: 100.2 kB / 1.174 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3737, allocations: 0 / 1.174 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002703/0.374, allocations: 163.2 kB / 1.175 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.374, allocations: 4 kB / 1.175 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.374, allocations: 8.125 kB / 1.175 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.3741, allocations: 0 / 1.175 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.3742, allocations: 19.92 kB / 1.175 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.303e-05/0.3742, allocations: 4 kB / 1.175 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002425/0.3745, allocations: 27.88 kB / 1.175 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.3745, allocations: 4 kB / 1.175 GB, free: 14.82 MB / 0.9356 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.000135/0.3746, allocations: 135.5 kB / 1.175 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.585e-05/0.3747, allocations: 27.83 kB / 1.175 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.66e-05/0.3747, allocations: 21.88 kB / 1.175 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.3747, allocations: 4 kB / 1.175 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.3747, allocations: 0 / 1.175 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.3748, allocations: 4.031 kB / 1.175 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007029/0.3755, allocations: 498.1 kB / 1.175 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3755, allocations: 4 kB / 1.175 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.462e-05/0.3755, allocations: 4 kB / 1.175 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.3755, allocations: 8 kB / 1.175 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.3755, allocations: 3.938 kB / 1.175 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.3755, allocations: 0 / 1.175 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.3755, allocations: 3.984 kB / 1.175 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002434/0.3758, allocations: 234.7 kB / 1.176 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.419e-05/0.3759, allocations: 93 kB / 1.176 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.285e-05/0.3759, allocations: 11.94 kB / 1.176 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.3761, allocations: 11.98 kB / 1.176 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.499e-05/0.3761, allocations: 27.97 kB / 1.176 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.356e-05/0.3762, allocations: 4 kB / 1.176 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001265/0.3763, allocations: 136.5 kB / 1.176 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3763, allocations: 4 kB / 1.176 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000323/0.3766, allocations: 47.89 kB / 1.176 GB, free: 13.46 MB / 0.9356 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.0008186/0.3775, allocations: 0.8363 MB / 1.177 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002615/0.3777, allocations: 103.8 kB / 1.177 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3777, allocations: 0 / 1.177 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.3779, allocations: 55.3 kB / 1.177 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004527/0.3783, allocations: 62.11 kB / 1.177 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002425/0.3808, allocations: 1.911 MB / 1.179 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00038/0.3812, allocations: 0.7242 MB / 1.179 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001285/0.3813, allocations: 29.47 kB / 1.179 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001247/0.3814, allocations: 55.41 kB / 1.18 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of SimCode: time 6.41e-07/0.3814, allocations: 0 / 1.18 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02663/0.4081, allocations: 5.598 MB / 1.185 GB, free: 4.137 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.837/8.246, allocations: 7.922 kB / 1.185 GB, free: 4.133 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.fmu > Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches