Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,fileNamePrefix="Buildings_latest_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.009204/0.009204, allocations: 98.14 kB / 15.73 MB, free: 6.062 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.001271/0.001271, allocations: 194.9 kB / 16.68 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.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.653/2.653, allocations: 469.4 MB / 0.7421 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001527, allocations: 63.91 kB / 1.064 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.825/0.8265, allocations: 159.1 MB / 1.22 GB, free: 2.281 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.002851/0.8294, allocations: 1.733 MB / 1.221 GB, free: 0.5312 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001411/0.8308, allocations: 0.9016 MB / 1.222 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.744e-05/0.8309, allocations: 0 / 1.222 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001733/0.8311, allocations: 27.72 kB / 1.222 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.000338/0.8314, allocations: 119.4 kB / 1.222 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003345/0.8318, allocations: 151.7 kB / 1.223 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002552/0.832, allocations: 235.4 kB / 1.223 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.8322, allocations: 41.67 kB / 1.223 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001266/0.8323, allocations: 115.6 kB / 1.223 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009802/0.8421, allocations: 1.663 MB / 1.225 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 6.909e-05/0.8422, allocations: 20 kB / 1.225 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001167/0.8423, allocations: 36 kB / 1.225 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 7.542e-05/0.8424, allocations: 51.75 kB / 1.225 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.000133/0.8426, allocations: 91.56 kB / 1.225 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0004057/0.843, allocations: 220.1 kB / 1.225 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.843, allocations: 0 / 1.225 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.162e-06/0.843, allocations: 3.938 kB / 1.225 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.874e-06/0.843, allocations: 0 / 1.225 GB, free: 13.31 MB / 0.9512 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.0009441/0.844, allocations: 0.559 MB / 1.226 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.844, allocations: 8.625 kB / 1.226 GB, free: 12.69 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.687e-05/0.8441, allocations: 42.73 kB / 1.226 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.792e-05/0.8442, allocations: 20.78 kB / 1.226 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003506/0.8445, allocations: 252.5 kB / 1.226 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.8446, allocations: 12 kB / 1.226 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.929e-05/0.8446, allocations: 20 kB / 1.226 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002266/0.8449, allocations: 111.3 kB / 1.226 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.8449, allocations: 4 kB / 1.226 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.8449, allocations: 0 / 1.226 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.8449, allocations: 0 / 1.226 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001342/0.845, allocations: 59.91 kB / 1.226 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009008/0.846, allocations: 0.5435 MB / 1.227 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001777/0.8461, allocations: 97.08 kB / 1.227 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.822e-05/0.8462, allocations: 41.77 kB / 1.227 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.8462, allocations: 7.938 kB / 1.227 GB, free: 11.35 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002662/0.8465, allocations: 125.1 kB / 1.227 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=15): time 1.423e-06/0.8465, allocations: 0 / 1.227 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15): time 0.0003699/0.8469, allocations: 157.5 kB / 1.227 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.713e-05/0.847, allocations: 85.23 kB / 1.227 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000209/0.8472, allocations: 201.3 kB / 1.227 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.539e-05/0.8472, allocations: 33.7 kB / 1.227 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 9.184e-05/0.8473, allocations: 120.5 kB / 1.227 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.49e-05/0.8474, allocations: 39.66 kB / 1.227 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.8475, allocations: 65.62 kB / 1.228 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.8476, allocations: 326.8 kB / 1.228 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.865e-05/0.8477, allocations: 31.98 kB / 1.228 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002617/0.848, allocations: 145.3 kB / 1.228 GB, free: 9.93 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001706/0.8481, allocations: 113.1 kB / 1.228 GB, free: 9.801 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.8482, allocations: 0 / 1.228 GB, free: 9.801 MB / 0.9512 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002736/0.8484, allocations: 161.3 kB / 1.228 GB, free: 9.637 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.8485, allocations: 8 kB / 1.228 GB, free: 9.629 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.8485, allocations: 160 / 1.228 GB, free: 9.629 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.8485, allocations: 8 kB / 1.228 GB, free: 9.621 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.46e-05/0.8486, allocations: 15.98 kB / 1.228 GB, free: 9.605 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.8486, allocations: 3.938 kB / 1.228 GB, free: 9.602 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002557/0.8489, allocations: 31.88 kB / 1.228 GB, free: 9.57 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.44e-05/0.8489, allocations: 8 kB / 1.228 GB, free: 9.562 MB / 0.9512 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.0001365/0.849, allocations: 140.1 kB / 1.228 GB, free: 9.418 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.681e-05/0.8491, allocations: 15.91 kB / 1.228 GB, free: 9.402 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.432e-05/0.8491, allocations: 33.52 kB / 1.228 GB, free: 9.363 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.8492, allocations: 0 / 1.228 GB, free: 9.363 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.8492, allocations: 0 / 1.228 GB, free: 9.363 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.8492, allocations: 0 / 1.228 GB, free: 9.363 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000644/0.8498, allocations: 470.2 kB / 1.229 GB, free: 8.848 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.8498, allocations: 0 / 1.229 GB, free: 8.848 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.122e-05/0.8499, allocations: 7.938 kB / 1.229 GB, free: 8.84 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.8499, allocations: 0 / 1.229 GB, free: 8.84 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.8499, allocations: 7.938 kB / 1.229 GB, free: 8.832 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.8499, allocations: 4 kB / 1.229 GB, free: 8.828 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.8499, allocations: 0 / 1.229 GB, free: 8.828 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002358/0.8502, allocations: 228.2 kB / 1.229 GB, free: 8.586 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.805e-05/0.8502, allocations: 89.02 kB / 1.229 GB, free: 8.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.52e-05/0.8503, allocations: 19.92 kB / 1.229 GB, free: 8.461 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001386/0.8504, allocations: 11.98 kB / 1.229 GB, free: 8.449 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.705e-05/0.8505, allocations: 23.92 kB / 1.229 GB, free: 8.426 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.8505, allocations: 7.984 kB / 1.229 GB, free: 8.418 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001363/0.8507, allocations: 147.3 kB / 1.229 GB, free: 8.273 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.6e-07/0.8507, allocations: 0 / 1.229 GB, free: 8.273 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003534/0.851, allocations: 51.89 kB / 1.23 GB, free: 8.223 MB / 0.9512 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.0008064/0.8518, allocations: 0.8386 MB / 1.23 GB, free: 7.383 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002532/0.8521, allocations: 99.91 kB / 1.23 GB, free: 7.285 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.8521, allocations: 4 kB / 1.23 GB, free: 7.281 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 9.67e-05/0.8522, allocations: 43.92 kB / 1.23 GB, free: 7.238 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004624/0.8527, allocations: 56.25 kB / 1.231 GB, free: 7.184 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002032/0.8547, allocations: 1.941 MB / 1.232 GB, free: 5.125 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/0.855, allocations: 0.7203 MB / 1.233 GB, free: 4.379 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 9.941e-05/0.8551, allocations: 25.53 kB / 1.233 GB, free: 4.355 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.823e-05/0.8552, allocations: 55.41 kB / 1.233 GB, free: 4.301 MB / 0.9512 GB Notification: Performance of SimCode: time 2.8e-07/0.8552, allocations: 0 / 1.233 GB, free: 4.301 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02459/0.8798, allocations: 5.538 MB / 1.239 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.992/8.872, allocations: 7.609 kB / 1.239 GB, free: 14.94 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.fmu > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches