Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_9_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.001531/0.001531, allocations: 108.6 kB / 15.73 MB, free: 76 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.00175/0.00175, allocations: 190.9 kB / 16.66 MB, free: 6.59 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.419/1.419, 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 9.1.3-maint.9.1.x/package.mo): time 2.349/2.349, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 61.56 kB / 0.9504 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.288, allocations: 140.4 MB / 1.087 GB, free: 1.977 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.003087/0.2911, allocations: 1.74 MB / 1.089 GB, free: 228 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001494/0.2926, allocations: 0.893 MB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.817e-05/0.2927, allocations: 0 / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002002/0.2929, allocations: 31.72 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004252/0.2934, allocations: 123.4 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004003/0.2938, allocations: 154.7 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003437/0.2942, allocations: 239.4 kB / 1.091 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.2943, allocations: 45.62 kB / 1.091 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001804/0.2945, allocations: 107.7 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01186/0.3064, allocations: 2.024 MB / 1.093 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.792e-05/0.3065, allocations: 20 kB / 1.093 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001186/0.3066, allocations: 39.98 kB / 1.093 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.77e-05/0.3067, allocations: 39.84 kB / 1.093 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000122/0.3068, allocations: 95.53 kB / 1.093 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000367/0.3072, allocations: 215.1 kB / 1.093 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3072, allocations: 0 / 1.093 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3072, allocations: 0 / 1.093 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.68e-06/0.3072, allocations: 4 kB / 1.093 GB, free: 12.75 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008314/0.308, allocations: 0.5603 MB / 1.094 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.3081, allocations: 8.031 kB / 1.094 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.895e-05/0.3081, allocations: 38.75 kB / 1.094 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.186e-05/0.3082, allocations: 20.84 kB / 1.094 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002846/0.3085, allocations: 251.3 kB / 1.094 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.3085, allocations: 8 kB / 1.094 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.82e-05/0.3086, allocations: 19.94 kB / 1.094 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.3087, allocations: 97.59 kB / 1.094 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.3088, allocations: 3.938 kB / 1.094 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.3088, allocations: 4 kB / 1.094 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.3088, allocations: 0 / 1.094 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001054/0.3089, allocations: 51.97 kB / 1.094 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007344/0.3096, allocations: 468.4 kB / 1.095 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004143/0.3101, allocations: 130.7 kB / 1.095 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.962e-05/0.3101, allocations: 40.78 kB / 1.095 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/0.3102, allocations: 12 kB / 1.095 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002487/0.3104, allocations: 106.8 kB / 1.095 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 1.864e-06/0.3104, allocations: 0 / 1.095 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.0003109/0.3108, allocations: 161.7 kB / 1.095 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.787e-05/0.3108, allocations: 63.33 kB / 1.095 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001712/0.311, allocations: 202.3 kB / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.371e-05/0.311, allocations: 33.7 kB / 1.095 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.672e-05/0.3111, allocations: 124.5 kB / 1.095 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.652e-05/0.3111, allocations: 39.69 kB / 1.095 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.156e-05/0.3112, allocations: 57.67 kB / 1.095 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.773e-05/0.3113, allocations: 326.8 kB / 1.096 GB, free: 9.727 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.443e-05/0.3114, allocations: 31.98 kB / 1.096 GB, free: 9.695 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002254/0.3116, allocations: 132.7 kB / 1.096 GB, free: 9.539 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/0.3118, allocations: 102.7 kB / 1.096 GB, free: 9.426 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.3118, allocations: 0 / 1.096 GB, free: 9.426 MB / 0.8575 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002421/0.312, allocations: 161.3 kB / 1.096 GB, free: 9.262 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.312, allocations: 4 kB / 1.096 GB, free: 9.258 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.3121, allocations: 0 / 1.096 GB, free: 9.258 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.3121, allocations: 4 kB / 1.096 GB, free: 9.254 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.217e-05/0.3121, allocations: 23.92 kB / 1.096 GB, free: 9.23 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.3122, allocations: 0 / 1.096 GB, free: 9.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002192/0.3124, allocations: 27.88 kB / 1.096 GB, free: 9.203 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.3124, allocations: 8 kB / 1.096 GB, free: 9.195 MB / 0.8575 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.0001183/0.3125, allocations: 147.6 kB / 1.096 GB, free: 9.043 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.97e-05/0.3126, allocations: 19.86 kB / 1.096 GB, free: 9.023 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.412e-05/0.3126, allocations: 17.92 kB / 1.096 GB, free: 9.008 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.3126, allocations: 3.984 kB / 1.096 GB, free: 9.004 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.676e-06/0.3126, allocations: 0 / 1.096 GB, free: 9.004 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.3126, allocations: 7.984 kB / 1.096 GB, free: 8.996 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006032/0.3132, allocations: 486.2 kB / 1.097 GB, free: 8.465 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3133, allocations: 4 kB / 1.097 GB, free: 8.461 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.459e-05/0.3133, allocations: 4 kB / 1.097 GB, free: 8.457 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.3133, allocations: 3.938 kB / 1.097 GB, free: 8.453 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.3133, allocations: 15.92 kB / 1.097 GB, free: 8.438 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3133, allocations: 0 / 1.097 GB, free: 8.438 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3133, allocations: 0 / 1.097 GB, free: 8.438 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002069/0.3135, allocations: 227.3 kB / 1.097 GB, free: 8.199 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.259e-05/0.3136, allocations: 96.95 kB / 1.097 GB, free: 8.086 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.711e-05/0.3136, allocations: 11.94 kB / 1.097 GB, free: 8.074 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.3138, allocations: 11.98 kB / 1.097 GB, free: 8.062 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.351e-05/0.3138, allocations: 19.97 kB / 1.097 GB, free: 8.043 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.489e-05/0.3139, allocations: 16 kB / 1.097 GB, free: 8.027 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001259/0.314, allocations: 136.5 kB / 1.097 GB, free: 7.895 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.314, allocations: 0 / 1.097 GB, free: 7.895 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002966/0.3143, allocations: 51.92 kB / 1.097 GB, free: 7.844 MB / 0.8575 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.0006642/0.315, allocations: 0.8423 MB / 1.098 GB, free: 7.004 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000213/0.3152, allocations: 103.8 kB / 1.098 GB, free: 6.902 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3152, allocations: 0 / 1.098 GB, free: 6.902 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.624e-05/0.3153, allocations: 51.92 kB / 1.098 GB, free: 6.852 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004099/0.3157, allocations: 62.19 kB / 1.099 GB, free: 6.793 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001784/0.3175, allocations: 1.88 MB / 1.1 GB, free: 4.801 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002477/0.3178, allocations: 0.7164 MB / 1.101 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.669e-05/0.3179, allocations: 25.53 kB / 1.101 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/0.318, allocations: 55.41 kB / 1.101 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of SimCode: time 3.31e-07/0.318, allocations: 0 / 1.101 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0219/0.3399, allocations: 5.604 MB / 1.107 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.622/7.962, allocations: 4 kB / 1.107 GB, free: 14.52 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.fmu > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches