Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.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.PlotterActivationLocalInput,fileNamePrefix="Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,fileNamePrefix="Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",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.009167/0.009168, allocations: 99.67 kB / 15.73 MB, free: 6.059 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.001959/0.001959, allocations: 192.1 kB / 16.67 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.426/1.426, allocations: 222.9 MB / 240.4 MB, free: 4.172 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.638/2.638, allocations: 437 MB / 0.7105 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 71.88 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2965/0.2979, allocations: 151.6 MB / 1.166 GB, free: 7.332 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.003344/0.3013, allocations: 1.732 MB / 1.168 GB, free: 5.578 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00166/0.303, allocations: 0.9046 MB / 1.169 GB, free: 4.672 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001191/0.3031, allocations: 4 kB / 1.169 GB, free: 4.668 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002047/0.3033, allocations: 27.67 kB / 1.169 GB, free: 4.641 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0004818/0.3038, allocations: 123.4 kB / 1.169 GB, free: 4.52 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004041/0.3043, allocations: 159.1 kB / 1.169 GB, free: 4.367 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003335/0.3046, allocations: 235.4 kB / 1.169 GB, free: 4.137 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001549/0.3048, allocations: 41.66 kB / 1.169 GB, free: 4.094 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001777/0.3049, allocations: 115.6 kB / 1.169 GB, free: 3.98 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009984/0.3149, allocations: 1.665 MB / 1.171 GB, free: 2.754 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 6.382e-05/0.315, allocations: 20 kB / 1.171 GB, free: 2.734 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.3151, allocations: 36 kB / 1.171 GB, free: 2.699 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.765e-05/0.3152, allocations: 51.75 kB / 1.171 GB, free: 2.648 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001251/0.3154, allocations: 83.58 kB / 1.171 GB, free: 2.566 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003641/0.3157, allocations: 223.1 kB / 1.171 GB, free: 2.348 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.3157, allocations: 0 / 1.171 GB, free: 2.348 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.654e-06/0.3157, allocations: 0 / 1.171 GB, free: 2.348 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.805e-06/0.3158, allocations: 0 / 1.171 GB, free: 2.348 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0009273/0.3167, allocations: 0.5564 MB / 1.172 GB, free: 1.73 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.3167, allocations: 12.03 kB / 1.172 GB, free: 1.719 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.516e-05/0.3168, allocations: 42.73 kB / 1.172 GB, free: 1.668 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.995e-05/0.3169, allocations: 20.84 kB / 1.172 GB, free: 1.648 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003883/0.3173, allocations: 251.3 kB / 1.172 GB, free: 1.363 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/0.3173, allocations: 11.94 kB / 1.172 GB, free: 1.352 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.98e-05/0.3173, allocations: 12 kB / 1.172 GB, free: 1.34 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002344/0.3176, allocations: 117.6 kB / 1.172 GB, free: 1.215 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.3176, allocations: 3.938 kB / 1.172 GB, free: 1.211 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.3176, allocations: 4 kB / 1.172 GB, free: 1.207 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.3176, allocations: 0 / 1.172 GB, free: 1.207 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001242/0.3178, allocations: 55.97 kB / 1.172 GB, free: 1.152 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000923/0.3187, allocations: 0.5435 MB / 1.173 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001801/0.3189, allocations: 101.1 kB / 1.173 GB, free: 448 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.359e-05/0.319, allocations: 33.78 kB / 1.173 GB, free: 408 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/0.319, allocations: 7.938 kB / 1.173 GB, free: 400 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002713/0.3193, allocations: 133.1 kB / 1.173 GB, free: 248 kB / 0.92 GB Notification: Performance of pre-optimization done (n=15): time 1.733e-06/0.3193, allocations: 0 / 1.173 GB, free: 248 kB / 0.92 GB Notification: Performance of matching and sorting (n=15): time 0.0003704/0.3197, allocations: 157.5 kB / 1.173 GB, free: 84 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.746e-05/0.3197, allocations: 85.11 kB / 1.173 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002418/0.32, allocations: 202.6 kB / 1.174 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 8.864e-05/0.3201, allocations: 33.7 kB / 1.174 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.6e-05/0.3202, allocations: 124.5 kB / 1.174 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.752e-05/0.3202, allocations: 39.72 kB / 1.174 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001572/0.3204, allocations: 57.67 kB / 1.174 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001819/0.3206, allocations: 326.8 kB / 1.174 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.44e-05/0.3207, allocations: 31.98 kB / 1.174 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002572/0.3209, allocations: 143.4 kB / 1.174 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001561/0.3211, allocations: 117.9 kB / 1.175 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.3211, allocations: 0 / 1.175 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002736/0.3214, allocations: 160.8 kB / 1.175 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.853e-05/0.3214, allocations: 4 kB / 1.175 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.3214, allocations: 11.92 kB / 1.175 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.3214, allocations: 0 / 1.175 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.214e-05/0.3215, allocations: 24.09 kB / 1.175 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.3216, allocations: 4 kB / 1.175 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002391/0.3218, allocations: 23.94 kB / 1.175 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.579e-05/0.3218, allocations: 11.98 kB / 1.175 GB, free: 14.6 MB / 0.9356 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.0001381/0.322, allocations: 143.4 kB / 1.175 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.571e-05/0.322, allocations: 15.91 kB / 1.175 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.584e-05/0.3221, allocations: 21.52 kB / 1.175 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.3221, allocations: 4 kB / 1.175 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.3221, allocations: 4 kB / 1.175 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.3221, allocations: 0 / 1.175 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006162/0.3227, allocations: 462.3 kB / 1.175 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3227, allocations: 0 / 1.175 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.92e-05/0.3228, allocations: 7.938 kB / 1.175 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.3228, allocations: 0 / 1.175 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.3228, allocations: 11.88 kB / 1.175 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.3228, allocations: 0 / 1.175 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3228, allocations: 0 / 1.175 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002404/0.3231, allocations: 236.2 kB / 1.176 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.795e-05/0.3231, allocations: 93.02 kB / 1.176 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.917e-05/0.3232, allocations: 11.92 kB / 1.176 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/0.3233, allocations: 7.984 kB / 1.176 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.33e-05/0.3234, allocations: 15.98 kB / 1.176 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.719e-05/0.3234, allocations: 23.98 kB / 1.176 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001342/0.3236, allocations: 140.5 kB / 1.176 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3236, allocations: 3.938 kB / 1.176 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003256/0.3239, allocations: 47.89 kB / 1.176 GB, free: 13.27 MB / 0.9356 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.0007642/0.3247, allocations: 0.8284 MB / 1.177 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002332/0.3249, allocations: 111.7 kB / 1.177 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3249, allocations: 0 / 1.177 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001033/0.325, allocations: 55.8 kB / 1.177 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000435/0.3255, allocations: 51.88 kB / 1.177 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0021/0.3276, allocations: 1.948 MB / 1.179 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/0.3279, allocations: 0.7203 MB / 1.18 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.858e-05/0.328, allocations: 21.55 kB / 1.18 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/0.3281, allocations: 63.41 kB / 1.18 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of SimCode: time 3.61e-07/0.3281, allocations: 0 / 1.18 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02602/0.3541, allocations: 5.552 MB / 1.185 GB, free: 3.949 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.904/8.259, allocations: 7.875 kB / 1.185 GB, free: 3.941 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_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_PlotterActivationLocalInput.fmu > Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches