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.006566/0.006566, allocations: 100.3 kB / 15.73 MB, free: 5.602 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.001266/0.001266, allocations: 190.4 kB / 16.68 MB, free: 5.523 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.327/1.327, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.199/2.199, allocations: 390.3 MB / 0.6648 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 59.91 kB / 0.9504 GB, free: 8.211 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.782/0.7835, allocations: 140.4 MB / 1.087 GB, free: 5.32 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.002934/0.7865, allocations: 1.743 MB / 1.089 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00143/0.7879, allocations: 0.8983 MB / 1.09 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.798e-05/0.788, allocations: 2.094 kB / 1.09 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001793/0.7882, allocations: 30.64 kB / 1.09 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003338/0.7886, allocations: 125.9 kB / 1.09 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003439/0.7889, allocations: 152.1 kB / 1.09 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002873/0.7892, allocations: 238.6 kB / 1.091 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.7894, allocations: 36.55 kB / 1.091 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001464/0.7895, allocations: 120.8 kB / 1.091 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01133/0.8008, allocations: 1.984 MB / 1.093 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.773e-05/0.801, allocations: 17.81 kB / 1.093 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001298/0.8011, allocations: 41.7 kB / 1.093 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.228e-05/0.8012, allocations: 45.73 kB / 1.093 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001238/0.8013, allocations: 87.66 kB / 1.093 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004061/0.8017, allocations: 220.8 kB / 1.093 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.8017, allocations: 4.5 kB / 1.093 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.234e-06/0.8017, allocations: 3.938 kB / 1.093 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.8018, allocations: 4.719 kB / 1.093 GB, free: 2.445 MB / 0.8575 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.0007507/0.8025, allocations: 0.5506 MB / 1.094 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.8026, allocations: 10.19 kB / 1.094 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.218e-05/0.8026, allocations: 41.14 kB / 1.094 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.4e-05/0.8027, allocations: 23.8 kB / 1.094 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002533/0.8029, allocations: 249.4 kB / 1.094 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.803, allocations: 15.38 kB / 1.094 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.313e-05/0.803, allocations: 14.12 kB / 1.094 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000205/0.8032, allocations: 111.1 kB / 1.094 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.8032, allocations: 0.6875 kB / 1.094 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.8033, allocations: 1.5 kB / 1.094 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.8033, allocations: 2.844 kB / 1.094 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001199/0.8034, allocations: 57.64 kB / 1.094 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008111/0.8042, allocations: 0.5409 MB / 1.095 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001587/0.8044, allocations: 97.5 kB / 1.095 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.695e-05/0.8045, allocations: 45.52 kB / 1.095 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.8045, allocations: 1.781 kB / 1.095 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002596/0.8048, allocations: 123.3 kB / 1.095 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=15): time 1.934e-06/0.8048, allocations: 0.75 kB / 1.095 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15): time 0.0003526/0.8051, allocations: 167.2 kB / 1.095 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.078e-05/0.8052, allocations: 82 kB / 1.095 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001997/0.8054, allocations: 206.5 kB / 1.095 GB, free: 0.6094 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3e-05/0.8054, allocations: 33.72 kB / 1.095 GB, free: 0.5742 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.151e-05/0.8055, allocations: 122.9 kB / 1.095 GB, free: 472 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.793e-05/0.8055, allocations: 36.11 kB / 1.095 GB, free: 444 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.413e-05/0.8056, allocations: 59.28 kB / 1.096 GB, free: 412 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.915e-05/0.8057, allocations: 329.8 kB / 1.096 GB, free: 84 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.068e-05/0.8057, allocations: 38.33 kB / 1.096 GB, free: 68 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002558/0.806, allocations: 139.6 kB / 1.096 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001563/0.8062, allocations: 114.2 kB / 1.096 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.8062, allocations: 1.219 kB / 1.096 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002816/0.8065, allocations: 162.8 kB / 1.096 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.8065, allocations: 9.875 kB / 1.096 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.8065, allocations: 2.766 kB / 1.096 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.8065, allocations: 2.406 kB / 1.096 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.319e-05/0.8066, allocations: 18.72 kB / 1.096 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.8066, allocations: 10.2 kB / 1.096 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002426/0.8069, allocations: 29.8 kB / 1.096 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.618e-05/0.8069, allocations: 17.88 kB / 1.096 GB, free: 15.74 MB / 0.8731 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 0.0001214/0.807, allocations: 131.2 kB / 1.097 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.681e-05/0.8071, allocations: 24.5 kB / 1.097 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.184e-05/0.8071, allocations: 24.5 kB / 1.097 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.8072, allocations: 1.906 kB / 1.097 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.8072, allocations: 0.8438 kB / 1.097 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.8072, allocations: 2.297 kB / 1.097 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006239/0.8078, allocations: 462.8 kB / 1.097 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.8078, allocations: 0.5312 kB / 1.097 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.011e-05/0.8079, allocations: 8.812 kB / 1.097 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.8079, allocations: 9.547 kB / 1.097 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.8079, allocations: 7.156 kB / 1.097 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.8079, allocations: 0.5938 kB / 1.097 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.8079, allocations: 0.9062 kB / 1.097 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002491/0.8081, allocations: 226.9 kB / 1.097 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 5.528e-05/0.8082, allocations: 95.06 kB / 1.097 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.076e-05/0.8082, allocations: 10.39 kB / 1.097 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.8084, allocations: 15.5 kB / 1.097 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.684e-05/0.8085, allocations: 22.75 kB / 1.097 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.532e-05/0.8085, allocations: 7.641 kB / 1.097 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001283/0.8086, allocations: 142.6 kB / 1.098 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8086, allocations: 0 / 1.098 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003285/0.809, allocations: 48.58 kB / 1.098 GB, free: 14.8 MB / 0.8731 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.0007123/0.8097, allocations: 0.8387 MB / 1.098 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002637/0.81, allocations: 102.9 kB / 1.098 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.81, allocations: 0.6875 kB / 1.098 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 9.852e-05/0.8101, allocations: 46.88 kB / 1.099 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004509/0.8105, allocations: 54.22 kB / 1.099 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002094/0.8127, allocations: 1.923 MB / 1.1 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002541/0.8129, allocations: 0.7271 MB / 1.101 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 9.722e-05/0.813, allocations: 25.41 kB / 1.101 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.8131, allocations: 59.5 kB / 1.101 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of SimCode: time 3.3e-07/0.8131, allocations: 3.938 kB / 1.101 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02692/0.8401, allocations: 5.541 MB / 1.107 GB, free: 11 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.721/8.561, allocations: 10.98 kB / 1.107 GB, free: 10.99 MB / 0.8731 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