Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_11_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.004931/0.004931, allocations: 96.7 kB / 15.73 MB, free: 6.051 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.001321/0.001321, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.427/1.427, 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 11.1.0-maint.11.x/package.mo): time 2.862/2.862, allocations: 469.8 MB / 0.7425 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 63.91 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2896/0.2916, allocations: 159.1 MB / 1.22 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003305/0.2949, allocations: 1.76 MB / 1.222 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001619/0.2966, allocations: 0.8891 MB / 1.223 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.016e-05/0.2967, allocations: 4 kB / 1.223 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001732/0.2968, allocations: 19.73 kB / 1.223 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003911/0.2973, allocations: 123.4 kB / 1.223 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003902/0.2977, allocations: 159.4 kB / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003391/0.298, allocations: 231.5 kB / 1.223 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.2982, allocations: 45.61 kB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001645/0.2983, allocations: 111.7 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01617/0.3145, allocations: 1.999 MB / 1.225 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.578e-05/0.3146, allocations: 16 kB / 1.225 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001119/0.3147, allocations: 39.98 kB / 1.225 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.711e-05/0.3148, allocations: 35.91 kB / 1.225 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001382/0.3149, allocations: 99.48 kB / 1.226 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000357/0.3153, allocations: 223.1 kB / 1.226 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.3153, allocations: 0 / 1.226 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3153, allocations: 0 / 1.226 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.3153, allocations: 0 / 1.226 GB, free: 9.121 MB / 0.9825 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.0008483/0.3162, allocations: 0.5564 MB / 1.226 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.3162, allocations: 8.031 kB / 1.226 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.046e-05/0.3163, allocations: 50.73 kB / 1.226 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.537e-05/0.3163, allocations: 20.84 kB / 1.226 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002973/0.3166, allocations: 247.4 kB / 1.227 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.3166, allocations: 4 kB / 1.227 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.243e-05/0.3167, allocations: 19.98 kB / 1.227 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002349/0.3169, allocations: 121.1 kB / 1.227 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.317, allocations: 0 / 1.227 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.317, allocations: 4 kB / 1.227 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.317, allocations: 4 kB / 1.227 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001265/0.3171, allocations: 55.91 kB / 1.227 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009842/0.3181, allocations: 0.5318 MB / 1.227 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001838/0.3183, allocations: 97.12 kB / 1.227 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.031e-05/0.3184, allocations: 41.89 kB / 1.227 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.3184, allocations: 7.938 kB / 1.227 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002826/0.3187, allocations: 128.1 kB / 1.228 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=15): time 1.713e-06/0.3187, allocations: 3.938 kB / 1.228 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15): time 0.0003752/0.3191, allocations: 165.5 kB / 1.228 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.496e-05/0.3192, allocations: 85.09 kB / 1.228 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002282/0.3194, allocations: 200.3 kB / 1.228 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.73e-05/0.3195, allocations: 33.7 kB / 1.228 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/0.3196, allocations: 116.5 kB / 1.228 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.558e-05/0.3196, allocations: 31.75 kB / 1.228 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.3198, allocations: 69.73 kB / 1.228 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.3199, allocations: 330.8 kB / 1.229 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.483e-05/0.32, allocations: 35.98 kB / 1.229 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002596/0.3203, allocations: 134.4 kB / 1.229 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001581/0.3204, allocations: 113.9 kB / 1.229 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3204, allocations: 0 / 1.229 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002778/0.3207, allocations: 169.4 kB / 1.229 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.3208, allocations: 8 kB / 1.229 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3208, allocations: 0 / 1.229 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.3208, allocations: 4 kB / 1.229 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.998e-05/0.3209, allocations: 19.92 kB / 1.229 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.156e-06/0.3209, allocations: 4 kB / 1.229 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000232/0.3211, allocations: 27.88 kB / 1.229 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.3212, allocations: 4 kB / 1.229 GB, free: 5.375 MB / 0.9825 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.0001519/0.3213, allocations: 148.2 kB / 1.229 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.351e-05/0.3214, allocations: 19.84 kB / 1.229 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.509e-05/0.3214, allocations: 17.53 kB / 1.229 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.3214, allocations: 0 / 1.229 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.3214, allocations: 0 / 1.229 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.3214, allocations: 7.984 kB / 1.229 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006595/0.3221, allocations: 465.2 kB / 1.23 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.3221, allocations: 8 kB / 1.23 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.705e-05/0.3221, allocations: 7.984 kB / 1.23 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.137e-06/0.3222, allocations: 4 kB / 1.23 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.3222, allocations: 7.938 kB / 1.23 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.3222, allocations: 0 / 1.23 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3222, allocations: 0 / 1.23 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002555/0.3225, allocations: 224.2 kB / 1.23 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.84e-05/0.3225, allocations: 105 kB / 1.23 GB, free: 4.277 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.718e-05/0.3226, allocations: 3.938 kB / 1.23 GB, free: 4.273 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/0.3227, allocations: 15.98 kB / 1.23 GB, free: 4.258 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.992e-05/0.3228, allocations: 15.97 kB / 1.23 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-05/0.3228, allocations: 8 kB / 1.23 GB, free: 4.234 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001801/0.323, allocations: 144.2 kB / 1.23 GB, free: 4.094 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.323, allocations: 0 / 1.23 GB, free: 4.094 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003291/0.3233, allocations: 59.81 kB / 1.23 GB, free: 4.035 MB / 0.9825 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.0008424/0.3242, allocations: 0.8412 MB / 1.231 GB, free: 3.184 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002269/0.3244, allocations: 103.6 kB / 1.231 GB, free: 3.086 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3244, allocations: 0 / 1.231 GB, free: 3.086 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001065/0.3245, allocations: 56.23 kB / 1.231 GB, free: 3.031 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004332/0.325, allocations: 59.31 kB / 1.231 GB, free: 2.98 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002244/0.3272, allocations: 1.921 MB / 1.233 GB, free: 0.9375 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003535/0.3276, allocations: 0.7242 MB / 1.234 GB, free: 192 kB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.878e-05/0.3277, allocations: 21.53 kB / 1.234 GB, free: 172 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.3278, allocations: 55.41 kB / 1.234 GB, free: 116 kB / 0.9825 GB Notification: Performance of SimCode: time 2.8e-07/0.3278, allocations: 0 / 1.234 GB, free: 116 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02743/0.3552, allocations: 5.544 MB / 1.239 GB, free: 10.76 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.97/8.326, allocations: 14.86 kB / 1.239 GB, free: 10.75 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.fmu > Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches