Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",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.001316/0.001317, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 195.1 kB / 16.53 MB, free: 6.664 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.339/1.339, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.331/2.331, allocations: 390.3 MB / 0.6647 GB, free: 436 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 64.09 kB / 0.8126 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5649/0.5663, allocations: 140.4 MB / 0.9497 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.002937/0.5692, allocations: 1.732 MB / 0.9514 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001286/0.5706, allocations: 0.902 MB / 0.9523 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.008e-05/0.5706, allocations: 1.312 kB / 0.9523 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001847/0.5708, allocations: 24.98 kB / 0.9523 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000321/0.5712, allocations: 117.4 kB / 0.9524 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002896/0.5715, allocations: 159.5 kB / 0.9526 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000216/0.5717, allocations: 238.1 kB / 0.9528 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.5718, allocations: 44.38 kB / 0.9528 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000108/0.572, allocations: 108.4 kB / 0.9529 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01099/0.583, allocations: 1.982 MB / 0.9549 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.102e-05/0.5831, allocations: 17.62 kB / 0.9549 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001248/0.5832, allocations: 36.53 kB / 0.9549 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.549e-05/0.5833, allocations: 48.05 kB / 0.955 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001134/0.5834, allocations: 94.34 kB / 0.9551 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003161/0.5838, allocations: 217.6 kB / 0.9553 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.5838, allocations: 1.062 kB / 0.9553 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.243e-06/0.5838, allocations: 0 / 0.9553 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.516e-06/0.5838, allocations: 0 / 0.9553 GB, free: 5.629 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0007574/0.5846, allocations: 0.5505 MB / 0.9558 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.5846, allocations: 13.88 kB / 0.9558 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.496e-05/0.5846, allocations: 46.45 kB / 0.9559 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.166e-05/0.5847, allocations: 19 kB / 0.9559 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002366/0.585, allocations: 246.5 kB / 0.9561 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.585, allocations: 11.78 kB / 0.9561 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.084e-05/0.585, allocations: 9.469 kB / 0.9561 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/0.5852, allocations: 112.4 kB / 0.9563 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.5852, allocations: 0 / 0.9563 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.5853, allocations: 5.625 kB / 0.9563 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.5853, allocations: 5.406 kB / 0.9563 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001088/0.5854, allocations: 53.94 kB / 0.9563 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007201/0.5861, allocations: 0.5474 MB / 0.9568 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001389/0.5863, allocations: 90.95 kB / 0.9569 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.457e-05/0.5863, allocations: 38.23 kB / 0.957 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.757e-05/0.5863, allocations: 13.16 kB / 0.957 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001585/0.5865, allocations: 121.6 kB / 0.9571 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.302e-06/0.5865, allocations: 1.375 kB / 0.9571 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.0003064/0.5868, allocations: 158.6 kB / 0.9573 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.942e-05/0.5869, allocations: 87.84 kB / 0.9573 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001575/0.587, allocations: 208 kB / 0.9575 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.837e-05/0.5871, allocations: 37.95 kB / 0.9576 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.143e-05/0.5871, allocations: 122 kB / 0.9577 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.428e-05/0.5872, allocations: 37.05 kB / 0.9577 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.942e-05/0.5873, allocations: 57.05 kB / 0.9578 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.269e-05/0.5873, allocations: 327 kB / 0.9581 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.224e-05/0.5874, allocations: 34.2 kB / 0.9581 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002068/0.5876, allocations: 143.9 kB / 0.9583 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001219/0.5877, allocations: 112.7 kB / 0.9584 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.5877, allocations: 1.281 kB / 0.9584 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002329/0.588, allocations: 165.6 kB / 0.9585 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.588, allocations: 5.531 kB / 0.9585 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.588, allocations: 2.219 kB / 0.9585 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.588, allocations: 6.234 kB / 0.9585 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.194e-05/0.5881, allocations: 16.11 kB / 0.9586 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.5881, allocations: 10.39 kB / 0.9586 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002237/0.5883, allocations: 28.73 kB / 0.9586 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.5884, allocations: 5.844 kB / 0.9586 GB, free: 2.645 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 19 (plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition2,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,$whenCondition1,$whenCondition3,$whenCondition4,plotConfiguration.activate_internal) * 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 9.385e-05/0.5885, allocations: 140.9 kB / 0.9587 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.124e-05/0.5885, allocations: 20.03 kB / 0.9588 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.942e-05/0.5885, allocations: 21.98 kB / 0.9588 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.5885, allocations: 1.5 kB / 0.9588 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.5886, allocations: 5.375 kB / 0.9588 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.5886, allocations: 0.75 kB / 0.9588 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004755/0.589, allocations: 461.2 kB / 0.9592 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.5891, allocations: 3.938 kB / 0.9592 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.245e-05/0.5891, allocations: 3.281 kB / 0.9592 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.5891, allocations: 1.812 kB / 0.9592 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.5891, allocations: 9.031 kB / 0.9592 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.5891, allocations: 6.094 kB / 0.9592 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.5891, allocations: 4 kB / 0.9592 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001846/0.5893, allocations: 227.9 kB / 0.9595 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.202e-05/0.5893, allocations: 93.48 kB / 0.9596 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.741e-05/0.5894, allocations: 10.3 kB / 0.9596 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001322/0.5895, allocations: 14.58 kB / 0.9596 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.67e-05/0.5896, allocations: 16.14 kB / 0.9596 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.142e-05/0.5896, allocations: 14.2 kB / 0.9596 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.808e-05/0.5897, allocations: 139.2 kB / 0.9597 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.01e-07/0.5897, allocations: 0 / 0.9597 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003165/0.59, allocations: 50.69 kB / 0.9598 GB, free: 1.613 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 (sca.sampleTrigger,scaDel.sampleTrigger,booPul.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart,plotConfiguration.active,plotConfiguration.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * 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.0005246/0.5906, allocations: 0.8491 MB / 0.9606 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002136/0.5908, allocations: 103.3 kB / 0.9607 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.5908, allocations: 0 / 0.9607 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.203e-05/0.5909, allocations: 50.8 kB / 0.9608 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004107/0.5913, allocations: 55.7 kB / 0.9608 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001814/0.5931, allocations: 1.914 MB / 0.9627 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002468/0.5934, allocations: 0.7162 MB / 0.9634 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.95e-05/0.5935, allocations: 31.42 kB / 0.9634 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.931e-05/0.5936, allocations: 55.53 kB / 0.9635 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of SimCode: time 2.71e-07/0.5936, allocations: 3.938 kB / 0.9635 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0236/0.6172, allocations: 5.483 MB / 0.9688 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.475/8.093, allocations: 11.11 kB / 0.9688 GB, free: 11.59 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.fmu > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches