Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_10_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.008584/0.008584, allocations: 95.98 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.001673/0.001673, allocations: 196.9 kB / 16.68 MB, free: 5.969 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.5/1.5, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.829/2.829, allocations: 437 MB / 0.7105 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 67.89 kB / 1.018 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3496/0.3509, allocations: 151.6 MB / 1.166 GB, free: 7.449 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.003681/0.3546, allocations: 1.739 MB / 1.168 GB, free: 5.688 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001745/0.3564, allocations: 0.9046 MB / 1.169 GB, free: 4.781 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000147/0.3566, allocations: 0 / 1.169 GB, free: 4.781 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002724/0.3569, allocations: 31.72 kB / 1.169 GB, free: 4.75 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0005036/0.3574, allocations: 115.4 kB / 1.169 GB, free: 4.637 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004542/0.3579, allocations: 154.8 kB / 1.169 GB, free: 4.488 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0004091/0.3583, allocations: 247.3 kB / 1.169 GB, free: 4.246 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000155/0.3585, allocations: 33.67 kB / 1.169 GB, free: 4.211 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001934/0.3587, allocations: 111.7 kB / 1.169 GB, free: 4.102 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01279/0.3715, allocations: 2.035 MB / 1.171 GB, free: 2.609 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001478/0.3717, allocations: 16 kB / 1.171 GB, free: 2.594 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002314/0.3719, allocations: 39.98 kB / 1.171 GB, free: 2.555 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001345/0.372, allocations: 43.83 kB / 1.171 GB, free: 2.512 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002488/0.3723, allocations: 91.56 kB / 1.172 GB, free: 2.422 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0006302/0.373, allocations: 215.1 kB / 1.172 GB, free: 2.211 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.373, allocations: 4 kB / 1.172 GB, free: 2.207 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.763e-06/0.373, allocations: 0 / 1.172 GB, free: 2.207 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.111e-05/0.373, allocations: 0 / 1.172 GB, free: 2.207 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.001236/0.3743, allocations: 0.5564 MB / 1.172 GB, free: 1.59 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.469e-05/0.3743, allocations: 12.03 kB / 1.172 GB, free: 1.578 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.323e-05/0.3744, allocations: 42.73 kB / 1.172 GB, free: 1.527 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001203/0.3745, allocations: 16.84 kB / 1.172 GB, free: 1.512 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004209/0.375, allocations: 251.4 kB / 1.173 GB, free: 1.227 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.582e-05/0.375, allocations: 12 kB / 1.173 GB, free: 1.215 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.041e-05/0.3751, allocations: 12 kB / 1.173 GB, free: 1.203 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000269/0.3753, allocations: 85.66 kB / 1.173 GB, free: 1.113 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.3754, allocations: 0 / 1.173 GB, free: 1.113 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.122e-05/0.3754, allocations: 4 kB / 1.173 GB, free: 1.109 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.3754, allocations: 4 kB / 1.173 GB, free: 1.105 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001707/0.3756, allocations: 55.91 kB / 1.173 GB, free: 1.051 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001098/0.3767, allocations: 468.4 kB / 1.173 GB, free: 0.543 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006074/0.3773, allocations: 142.6 kB / 1.173 GB, free: 404 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.556e-05/0.3774, allocations: 36.84 kB / 1.173 GB, free: 364 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.96e-05/0.3775, allocations: 0 / 1.173 GB, free: 364 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004289/0.3779, allocations: 119.4 kB / 1.174 GB, free: 232 kB / 0.92 GB Notification: Performance of pre-optimization done (n=16): time 2.004e-06/0.3779, allocations: 0 / 1.174 GB, free: 232 kB / 0.92 GB Notification: Performance of matching and sorting (n=16): time 0.0004998/0.3784, allocations: 172.4 kB / 1.174 GB, free: 56 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.456e-05/0.3785, allocations: 59.41 kB / 1.174 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000294/0.3788, allocations: 202.5 kB / 1.174 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.114e-05/0.3789, allocations: 33.7 kB / 1.174 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.379, allocations: 116.5 kB / 1.174 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.924e-05/0.3791, allocations: 35.73 kB / 1.174 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001605/0.3793, allocations: 57.67 kB / 1.174 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.3795, allocations: 330.8 kB / 1.174 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001191/0.3796, allocations: 31.98 kB / 1.175 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003543/0.38, allocations: 133.6 kB / 1.175 GB, free: 15 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002146/0.3802, allocations: 100.2 kB / 1.175 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.3802, allocations: 0 / 1.175 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003912/0.3806, allocations: 155.9 kB / 1.175 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.3806, allocations: 11.98 kB / 1.175 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.3807, allocations: 0 / 1.175 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.221e-05/0.3807, allocations: 7.938 kB / 1.175 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.3808, allocations: 8 kB / 1.175 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.849e-06/0.3808, allocations: 4 kB / 1.175 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003086/0.3812, allocations: 32 kB / 1.175 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.192e-05/0.3812, allocations: 11.97 kB / 1.175 GB, free: 14.66 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.0001826/0.3814, allocations: 143.5 kB / 1.175 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.529e-05/0.3814, allocations: 15.91 kB / 1.175 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.709e-05/0.3815, allocations: 25.86 kB / 1.175 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.3815, allocations: 0 / 1.175 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.3816, allocations: 0 / 1.175 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.3816, allocations: 0 / 1.175 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001023/0.3826, allocations: 498.1 kB / 1.176 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.3826, allocations: 0 / 1.176 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-05/0.3827, allocations: 11.92 kB / 1.176 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.805e-06/0.3827, allocations: 0 / 1.176 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.817e-05/0.3827, allocations: 7.875 kB / 1.176 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.3827, allocations: 4 kB / 1.176 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3828, allocations: 0 / 1.176 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003688/0.3831, allocations: 239.2 kB / 1.176 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.292e-05/0.3832, allocations: 89.02 kB / 1.176 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.755e-05/0.3833, allocations: 7.875 kB / 1.176 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002098/0.3835, allocations: 19.97 kB / 1.176 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.3836, allocations: 15.98 kB / 1.176 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-05/0.3837, allocations: 7.984 kB / 1.176 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001881/0.3839, allocations: 144.5 kB / 1.176 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.61e-07/0.3839, allocations: 4 kB / 1.176 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0005794/0.3845, allocations: 47.89 kB / 1.176 GB, free: 13.3 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.001107/0.3856, allocations: 0.8341 MB / 1.177 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003593/0.386, allocations: 98.5 kB / 1.177 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.386, allocations: 8.188 kB / 1.177 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001535/0.3862, allocations: 51.98 kB / 1.177 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007202/0.3869, allocations: 55.08 kB / 1.177 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003136/0.39, allocations: 1.889 MB / 1.179 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003767/0.3904, allocations: 0.7203 MB / 1.18 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.000126/0.3906, allocations: 25.53 kB / 1.18 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000149/0.3907, allocations: 63.41 kB / 1.18 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of SimCode: time 2.795e-06/0.3908, allocations: 0 / 1.18 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0279/0.4187, allocations: 5.617 MB / 1.185 GB, free: 3.996 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.944/8.363, allocations: 10.27 kB / 1.185 GB, free: 3.992 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_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_PlotterActivationGlobalInputFirstOff.fmu > Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches